Statalist


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

st: Re: AW: linepattern/msymbol in Kaplan-Meier graph?


From   "jmpsouza" <jmpsouza@usp.br>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: AW: linepattern/msymbol in Kaplan-Meier graph?
Date   Tue, 3 Mar 2009 16:03:59 -0300

Dear Martin:
it worked. The line patterns are the same, for sts graph and two way. But it is possible to add the msymbols. I used -twoway scatter mk _t if gruponum==3, connect(stairstep) lpattern("__...__") msymb
ol(d) sort||scatter mk _t if gruponum==4, connect(stairstep) lpattern("-") msymbol (oh) sort||scatter mk _t if gruponum==5, connect(stairstep) sort msymbol(x) lpatter
n("l")-

Thank you.
José Maria
Jose Maria Pacheco de Souza, Professor Titular (aposentado)
Departamento de Epidemiologia/Faculdade de Saude Publica, USP
Av. Dr. Arnaldo, 715
01246-904  -  S. Paulo/SP - Brasil
fones (11)3061-7747; (11)3768-8612
fax (11)3714-2403
www.fsp.usp.br/~jmpsouza
----- Original Message ----- From: "Martin Weiss" <martin.weiss1@gmx.de>
To: <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, March 03, 2009 1:03 PM
Subject: st: AW: linepattern/msymbol in Kaplan-Meier graph?



find a way to capture the data being plotted in an -sts graph-, and plot
them using -twoway (line studytime y, connect(stairstep))-. I think you
could generate the data  with -sts generate-, >

HTH
Martin

-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von jmpsouza
Gesendet: Dienstag, 3. März 2009 16:19
An: statalist@hsphsun2.harvard.edu
Betreff: st: linepattern/msymbol in Kaplan-Meier graph?

Dear statalisters:
My Kaplan-Meier graph does not distinguish well between  the  lines when
transposed to publication, using the allowed combinations of lines, dashes
and dots. Is there some alternative, like in twoway graphs, using mark
symbols?
Thank you.
José Maria

Jose Maria Pacheco de Souza, Professor Titular (aposentado)
Departamento de Epidemiologia/Faculdade de Saude Publica, USP
Av. Dr. Arnaldo, 715
01246-904  -  S. Paulo/SP - Brasil
fones (11)3061-7747; (11)3768-8612
fax (11)3714-2403
www.fsp.usp.br/~jmpsouza

*
*   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/


*
*   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