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?
Functional data analysis for analysis of continuous glucose data (i.e. over days) in StataHello Stata colleagues, I have some continuous glucose data in participants who completed cross-ove…
Assigning random number from list to regression stored nameHello, I want to run several regressions and store them. The name should contain a number randomly …
Graphing multiple variables in a single map using SPMAPDeal all, I am using Stata 15. I have a cross section data-set for year 2015 with crop yields for fo…
Marginsplot with countriesHello all, This is just an example: I do a logit-comman like for instance "logit salary gender" whe…
Identification tests under ivreg2Dear Statalisters, I am running an ivreg2 estimation. I am not too sure on how to interpret these r…
Subscribe to:
Post Comments (Atom)
0 Response to Bug in the connect option of twoway graph?
Post a Comment