Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: oneway graph


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: oneway graph
Date   Sun, 9 Feb 2003 16:32:38 -0000

David L. Schriger
>
> Using version 8, windows
>
> I am having trouble finding the equivalent of this:
>
> version 7
> graph var2, by(var1) oneway
>
> in version 8.
>
> "search oneway", etc. of no help.

You can go e.g.

. sort rep78
. gr7 mpg, by(rep78) oneway

Alternatively, here's another route to travel.

. gen stroke = "|"
. scatter rep78 mpg, yscale(reverse) ms(i)  mlabel(stroke)
mlabposition(0)

For further tuning, see

. whelp marker_label_options

In turn, I have a question:

In playing around, I tried

. scatter rep78 mpg, yscale(reverse) jitter(1)

and I get no data points shown.

??? Anyone confirm that? Able to explain it?

Nick
n.j.cox@durham.ac.uk

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index