I am trying to plot a number of graphs using the ascending and stairstep connect styles of the connect option. My data is sorted by id and x. The command
. twoway (line y x, connect(ascending stairstep))
ignores the stairstep connect style, while the command
. twoway (line y x, connect( stairstep ascending))
ignores the ascending option. Neither command generates an error message. The help file appears to indicate that I can include multiple styles in my connect option. Is this a bug or am I misreading the help file?
Ultimately, I would like to plot a large number of curves on a single graph. I could issue commands like
. twoway (line y x if id==1, connect( stairstep)) (line y x if id==2, connect( stairstep))
Is this the optimal way of getting what I want? I could build up this command using a local macro. Are there any limits to the size of a twoway graph command? If I wanted to plot graphs from 1000 bootstraps, would this approach work?
Related Posts with Bug in the connect option of twoway graph?
Generate dummy variable attributed to all observations of an ID if one of the observations meets criteriaHi, I haven't had much experience using Stata and was wondering whether one could generate a dummy v…
Robustness CheckHi, For my project, I've just been running simple OLS regressions. I was wondering if there was any…
Renaming an existing sheet in excel via xl() or putexcelHi im not sure if this is possible or not, but does anyone know if you can rename an existing sheet …
Using subpop reg to compare regression coefficients between groups.I am investigating how access to water and toilets in the household affects educational attainment i…
Proof of parallel trends in Difference in Difference using a leads and lags regression?Dear Statalist users, I need to prove that the treatment group and the control group follow similar…
Subscribe to:
Post Comments (Atom)
0 Response to Bug in the connect option of twoway graph?
Post a Comment