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

st: graph dot


From   David Airey <[email protected]>
To   [email protected]
Subject   st: graph dot
Date   Sun, 23 Feb 2003 11:59:00 -0600

Oh shoot! I read the online help file 3 times and missed this last night. It must have been my son threatening me and my powerbook with a spoon of yogurt that was distracting. Thanks.

-Dave



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" <[email protected]>
To: <[email protected]>
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/



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