not support.here is an example.
Code:
sysuse auto,clear
localp price mpg if foreign==1,scheme(s1mono) lineopt(lp(solid)) ///
addplot(localp price mpg if foreign==0,scheme(s1mono) lineopt(lp(shortdash_dot)))
localp is not a twoway plot type
r(198);
Code:
sysuse auto,clear localp price mpg if foreign==1,nograph gen(l1) localp price mpg if foreign==0,nograph gen(l0) twoway line l1 l0 mpg ,sort lp(solid shortdash_dot) /// ||scatter price mpg if foreign==1 ,m(O) msize(small) /// ||scatter price mpg if foreign==0,m(Oh) msize(small) /// ,legend(order(3 "Foreign Car Price" 4 "Domestic Car Price") rows(2)) /// scheme(s1mono)
Best
Raymond
0 Response to Question about the command --localp-- @Nick Cox
Post a Comment