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

st: RE: RE: oneway graph


From   Lee Sieswerda <Lee.Sieswerda@tbdhu.com>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: oneway graph
Date   Mon, 10 Feb 2003 14:37:03 -0500

Hi Nick,
I can confirm your observation, and maybe sort of explain it. Apparently,
when using the -yscale(reverse)- option with -jitter-, all of the y-values
are recoded to zeroes. Try the same command you had trouble with, but add
the -ylab- option and you'll see everything clustered on y=0. You couldn't
see any data because by default your yscale ended at 1.

scatter rep78 mpg, jitter(1) yscale(reverse) ylab(0(1)7)

This is probably a bug that needs to be fixed.

Best,

Lee Sieswerda


> -----Original Message-----
> From:	Nick Cox [SMTP:n.j.cox@durham.ac.uk]
> Sent:	Sunday, February 09, 2003 11:33 AM
> To:	statalist@hsphsun2.harvard.edu
> Subject:	st: RE: oneway graph
> 
> 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/
*
*   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