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: hbox line
From
[email protected] (Vince Wiggins, StataCorp)
To
[email protected]
Subject
Re: st: hbox line
Date
Wed, 24 Feb 2010 11:45:20 -0600
Jordan <[email protected]> is having trouble using the option -yline()- with
-graph hbox-,
> I know how to insert a line into a box plot: graph b ox var
> yline(value). According to Hamilton (Statistics with Stat v9), you
> could do the same using hbox. Apparently one cannot use this command
> with Stata11.
Michael Mitchell <[email protected]> has correctly identified
this as a bug that occurs in Stata 11, but not in Stata 10,
> I ran -graph hbox bp, yline(10)- and the line was placed
> horizontally on the graph in Stata version 11. When I ran the
> command -graph hbox bp, yline(130)- in Stata 10, the line was placed
> vertically. Methinks there is some misbehavior with -graph hbox- and
> -yline()- in Stata version 11.
In replying to Friedrich Huebler's <[email protected]> post about zero lines
for dot charts.
Michael found the same misbehavior of the -yline()- option when using
-graph dot-. Indeed, -yline()- is not working properly on -graph hbox-,
-graph hbar-, and -graph dot-.
This will be fixed in the next update.
Martin Weiss <[email protected]> suggested using the Graph Editor to add
such lines, and that is indeed the best workaround until the next Stata
update.
-- Vince
[email protected]
*
* 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/