Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: hbox line


From   Michael Norman Mitchell <Michael.Norman.Mitchell@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: hbox line
Date   Mon, 22 Feb 2010 11:52:38 -0800

Greetings

I tried the solution mentioned in the link mentioned by Martin, but I found the same problem that reg jordan referred to. 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. For now, I like Martin's workaround of using the graph editor until this is fixed.

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-22 11.41 AM, Martin Weiss wrote:
<>

See http://www.stata.com/statalist/archive/2009-06/msg00424.html



If all else fails, you can always use the Graph Editor to insert a line wherever you want...


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of drreg@earthlink.net
Sent: Montag, 22. Februar 2010 19:45
To: statalist@hsphsun2.harvard.edu
Subject: st: hbox line

I know how to insert a line into a box plot: graph box 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. Any suggestions about how to draw a line using hbox? Thanks in advance for your assistance.

reg jordan
*
*   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/
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index