Statalist


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

Re: st: graph added text behaving strangely


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: graph added text behaving strangely
Date   Fri, 26 Oct 2007 22:42:42 +0100 (BST)

--- Dan Weitzenfeld <[email protected]> wrote:
> I expected 50_59 to be above 50_50 because in a horizontal bar chart,
> the categorical axis is called the x axis, even though it is
> vertical.
> 
> I have managed to produce a triangle while varying only one
> coordinate
> in the auto.dta dataset:
> 
> sysuse auto,clear
> graph hbar mpg, over(head) text( 20 25 "20_25"  20 15 "20_15" 20 10
> "20_10") bar(1, fcolor(gs15))
> 
> Are you getting a triangle or a straight line when you run that code
> (is it a problem with my version/install of stata?  I'm using
> 10.0...)

I can reproduce this: In my case (Stata 10.0, 9.2, and 8.2) 20_25 is
somewhat higher than the rest.

-- Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 
*
*   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