Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Dot charts: Only 0 possible as lower end of scale?


From   "Friedrich Huebler" <[email protected]>
To   [email protected]
Subject   st: Dot charts: Only 0 possible as lower end of scale?
Date   Mon, 6 Oct 2008 12:28:32 -0400

-graph dot- accepts the yscale(range()) option but it is not possible
to set the lower end of the scale to a number above 0 because values
greater than 0 are ignored. How can I modify both ends of the scale? I
looked at -onewayplot- and -stripplot- from SSC but they only accept
one variable with the by() option. I have to plot data from three
variables.

. sysuse auto
. graph dot mpg trunk, over(foreign)
. graph dot mpg trunk, over(foreign) yscale(r(10 30))

Thanks,

Friedrich
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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