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 09:23:33 -0600

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