Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: graph added text behaving strangely


From   "Dan Weitzenfeld" <dan.weitzenfeld@emsense.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: graph added text behaving strangely
Date   Fri, 26 Oct 2007 12:08:56 -0700

I'm adding text to a horizontal bar graph.  I know that the x range is
[0, 100] and that "in a horizontal bar chart, the numerical axis is
still called the y axis and the categorical axis is still called the x
axis" (help graph bar - I read my manuals).
So, to get familiar with how this works, I added the following to a
horizontal bar graph command:

text( 50 25 "50_25"  50 50 "50_50" 50 59 "50_59")

Can someone explain why these three notes were in a triangle and not a
straight line?  I varied only the x coordinate!  Yet the last note,
"50_59", was to the right of "50_50," rather than above it where I
expected it to be...

Thanks in advance,
Dan
*
*   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