[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: changing line colors in Kaplan-Meier graphs
Hi Jorg,
I tried your code and it did not quite get me what I wanted, but it did
stimulate my brain into the right direction. In case anyone is interested.
sts graph, by(monthgrpT) recast(line) lcolor("255 0 0" "0 255 0" "0 0 255")
l
pattern(solid) lwidth(medium) legend(title(Kaplan-Meier Estimates by
Treatmen
t Duration))
This gave me a KM graph with red, blue and green line colors...looks great.
Thanks for the help.
Peggy
*
* 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/