Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: -stcurve- with rightmost sub-options for lines
From
[email protected]
To
Statalist <[email protected]>
Subject
st: -stcurve- with rightmost sub-options for lines
Date
Sat, 9 Feb 2013 14:58:15 +0800
Dear Statalist,
I am attempting to change "rightmost"-type options for lines using -stcurve-
***** Begin example *****
webuse cancer, clear
replace drug = drug == 2 | drug == 3
stcox drug age
stcurve, survival ///
at1(drug=0) at2(drug=1) ///
lpattern(longdash) lwidth(thick) lcolor(maroon)
* lpattern2(solid) lwidth2(thick) lcolor2(navy) *
***** End example *****
I'd like to incorporate something like the commented-out line above,
but separating the -at#()- options doesn't work, and -stcurve- doesn't
appear to accept -lpattern#- options.
Minor, and solvable using -predict- with -tw- but infuriating!
cheers-
Andrew Lover
___________________________
Epidemiologist
Centre for Infectious Disease Epidemiology Research (CIDER)
Saw Swee Hock School of Public Health
National University of Singapore
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/