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

st: RE: re: breaks in linear plots

From   "Nick Cox" <>
To   <>
Subject   st: RE: re: breaks in linear plots
Date   Thu, 12 Feb 2009 14:00:15 -0000

If that's what is wanted, note that -separate- was written partly to
support this kind of thing directly. 

sysuse nlsw88.dta,clear
separate wage, by(south) 


The advantage is greater with several groups, rather than two. 


Kit Baum

I don't think May is trying to get a break in the axis, but rather in  
the plotted line. Something like this, maybe?

. sysuse nlsw88.dta,clear
(NLSW, 1988 extract)

. g wagenorth = wage if !south
(942 missing values generated)

. g wagesouth = wage if south
(1304 missing values generated)

. collapse wagenorth wagesouth,by(age)

. twoway line wagenorth age if age<=40  || line wagesouth age if age>=40

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index