Daniel Egan had difficulty sending this to Statalist.
Nick
[email protected]
Heres one for graphing masters:
How would I make a graph (scatterplot or connected) with the x-axis
going from 19-23, then 0-7. I am tracking hourly outcomes overnight,
and so want to be able to graph from 1900 (7pm) to 0700 (7 am).
My x (hour) values range from 0 to 23.
As it stands, my command looks like:
twoway (connected aarhc hour if createdby=="ba")
(connected aarhc hour if createdby=="de")
(connected aarhc hour if createdby=="kl")
(connected aarhc hour if createdby=="aw")
(connected aarhc hour if createdby=="lt")
(connected aarhc hour if createdby=="is")
if sd==0, legend(position(12) ring(0))
so if possible, I would like to be able to include the range option
in the "twoway (...)(...) , range(??)" option.
The range option does not seem to support a numlist type format,
i.e. I have tried
r(19 20 21 22 23 0 1 .....) ...
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/