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?
Interpreting Interaction Term CoefficientsDear Stata Users, I intend to study the relationship between ethnicity and COVID-19 on income. I c…
Creating lagged variables with pooled cross sectional dataI am working with a dataset that contains student grade observations in a variety of subjects, in di…
Spilt variable and fill in numeric terms in the stringDear Statalist, I have a variable called Name which looks like below. I would like to spilt Name in…
HELP! xtline producing different graphs each runPlease help! I have a simple, balanced longitudinal data set. I xtset the data and then run xtline.…
Eliminating leading blanks from a stringHi all, It seems there are leading blanks for a string variable state in 2 out of 5 rounds of data …
Subscribe to:
Post Comments (Atom)
0 Response to Bug in the connect option of twoway graph?
Post a Comment