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]

st: How to add markers to plots from sts graph


From   [email protected]
To   Statalist <[email protected]>
Subject   st: How to add markers to plots from sts graph
Date   Sun, 23 Jun 2013 14:44:20 +0800

Hi Kai Huang,

The options are a little obscure for -sts graph- as below:

******* Begin example *******

webuse drug2, clear

sts graph, surv by(drug) ///
	plot1opts(lpattern(solid) lcolor(black) lwidth(thick)) 	///
	plot2opts(lpattern(dash) lcolor(navy) lwidth(thick)) 	///
	legend(size(large) ring(0) pos(2)) title("")

******* End example *******

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/


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