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

From |
"Scott Merryman" <[email protected]> |

To |
[email protected] |

Subject |
Re: st: graph added text behaving strangely |

Date |
Fri, 26 Oct 2007 15:12:56 -0500 |

Can you produce this with the auto.dta data set? For example: sysuse auto,clear graph bar mpg, over(head) text( 20 25 "50_25" 20 50 "50_50" 20 59 "50_59") bar(1, fcolor(gs15)) the added text is where it is expected. Also, why would you expect "50_59" to be above "50_50" since you are only changing the x coordinate? Scott On 10/26/07, Dan Weitzenfeld <[email protected]> wrote: > 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/

**Follow-Ups**:**Re: st: graph added text behaving strangely***From:*"Dan Weitzenfeld" <[email protected]>

**References**:**st: graph added text behaving strangely***From:*"Dan Weitzenfeld" <[email protected]>

- Prev by Date:
**Re: st: Strange behavior from conditional logistic - bug?** - Next by Date:
**Re: st: RE: date function** - Previous by thread:
**st: graph added text behaving strangely** - Next by thread:
**Re: st: graph added text behaving strangely** - Index(es):

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