Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Query: Adding yline()


From   [email protected]
To   [email protected]
Subject   st: Query: Adding yline()
Date   Mon, 18 Aug 2003 18:31:12 +0200

Dear Stata-listers,

I need help with adding a yline to a graph - the value of the yline comes
from a variable "med1" as follows


egen med1=median(midobs1)

graph box midobs1 rmidobs1, over(site) yline(`med1') 

The graph command runs but does not show the required yline().

I would very much appreciate your suggestions.


Regards,

Amani


*
*   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