Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Dot chart with line at 0
From
Michael Norman Mitchell <[email protected]>
To
[email protected]
Subject
Re: st: Dot chart with line at 0
Date
Tue, 23 Feb 2010 17:27:04 -0800
Dear Friedrich
This graph seems to be suffering the same problem as "graph hbox" is
suffering, see
http://www.stata.com/statalist/archive/2010-02/msg01022.html
In Stata 10, you could type
clear all
input str5 area value
"Urban" 10
"Rural" -5
end
graph dot value, over(area) yline(0)
and it draws a vertical line at 0. But, in version 11, it
inappropriately (I believe) draws a horizontal line below urban.
Until this is mended, you can use the graph editor to insert such a line.
Best regards,
Michael N. Mitchell
See the Stata tidbit of the week at...
http://www.MichaelNormanMitchell.com
Visit me on Facebook at...
http://www.facebook.com/MichaelNormanMitchell
On 2010-02-23 4.56 PM, Friedrich Huebler wrote:
Consider the graph below.
clear all
input str5 area value
"Urban" 10
"Rural" -5
end
graph dot value, over(area)
Is it possible to draw the vertical axis at 0? I am familiar with the
arguments against such a display.
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/
*
* 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/