Statalist


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

st: AW: Twoway Plot - Change Symbol


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
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...


HTH
Martin

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von [email protected]
Gesendet: Freitag, 7. August 2009 19:51
An: [email protected]
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:
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index