Bookmark and Share

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]

RE: st: How to add markers to plots from sts graph


From   "Allan Reese (Cefas)" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: How to add markers to plots from sts graph
Date   Mon, 24 Jun 2013 10:05:57 +0000

- sts graph, plotopt( line options) - does not support marker options and adds a time variable to the data but not a survival estimate.  A solution may be to save the survivor (or other) function into the dataset and use - addplot -.  An example with low and high doses,

sts gen surv = s, by(dose)
separate surv, by(dose)
sts graph,  addplot( scatter surv?  _t, ms(oh o)  )

Allan  


Date: Sat, 22 Jun 2013 21:17:06 +0000
From: Kai Huang <[email protected]>
Subject: st: How to add markers to plots from sts graph

Dear all,
I would like to ask how I can add markers to plots drawn from sts graph. It seems to me that sts graph does not support any marker options. Thank you very much in advance.


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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index