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

st: Query: Adding yline()

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.



*   For searches and help try:

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