Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: How to add markers to plots from sts graph

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

Andrew Lover

Centre for Infectious Disease Epidemiology Research (CIDER)
Saw Swee Hock School of Public Health
National University of Singapore
*   For searches and help try:

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