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

st: Re: graph dot


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: graph dot
Date   Sun, 23 Feb 2003 10:24:59 -0600

The -exclude0- option seems to force graph dot to respect the ylabel option.
Example:

graph dot (mean) mpg, over(rep78) linetype(dot) ylabel(15(1)30) exclude0


Scott

----- Original Message -----
From: "David Airey" <david.airey@vanderbilt.edu>
To: <statalist@hsphsun2.harvard.edu>
Sent: Sunday, February 23, 2003 9:23 AM
Subject: st: graph dot


> I'm missing something simple about how to control the axis in the
> following graphs:
>
> . graph box cerebellum_total if strain_sorter > 3 & strain_sorter < 17,
> over(line_short)
>
> . graph dot cerebellum_total if strain_sorter > 3 & strain_sorter < 17,
> over(line_short)
>
> In the boxes, the y-axis is in the range of 40-80, which is the range
> of the data. In the dots the range is from 0-80, and this makes the
> data bunch up to the right. How do I make the yaxis 40-80? From looking
> at the help, neither ylabel nor yscale seems correct to use. I ran into
> this problem once before in a scatter and solved it by limiting the
> data with an if <> statement. That doesn't work here either.
>
> -Dave
>
> *
> *   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