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, is already up and running.

[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–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index