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

st: AW: Twoway Plot - Change Symbol

From   "Martin Weiss" <>
To   <>
Subject   st: AW: Twoway Plot - Change Symbol
Date   Fri, 7 Aug 2009 20:54:40 +0200


-twoway- can be overlaid several times, so just condition with an -if-
qualifier on the observation ("_n") being 11 - or not...


-----Ursprüngliche Nachricht-----
[] Im Auftrag von
Gesendet: Freitag, 7. August 2009 19:51
Betreff: st: Twoway Plot - Change Symbol

Is there any way to change the symbol for the 11th observation to an  
"x" instead of a dot?

gen id = _n
labmask id, val(names)
twoway (rspike urr lrr id) (scatter rr id), xlabel(1/11, valuelabel  
angle(45)) ///
         xtitle("", size(*0.8)) ytitle("Odds Ratio") title("")  
legend(off) yline(1.34)

names           str18  %18s
rr              float  %9.0g
lrr             float  %9.0g
urr             float  %9.0g

Stata 9

Thank you.

*   For searches and help try:

*   For searches and help try:

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