Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[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)" <allan.reese@cefas.co.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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 <demonsecret@hotmail.com.hk>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index