Statalist


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

st: AW: Twoway Plot - Change Symbol


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von jasonm@ucla.edu
Gesendet: Freitag, 7. August 2009 19:51
An: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index