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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: problem with graph mspline, scheme(s2mono) (bug??)


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: problem with graph mspline, scheme(s2mono) (bug??)
Date   Fri, 23 Sep 2011 08:56:25 -0700 (PDT)

 
I am ploting several curves using msplines with options -scheme(s2mono)- and also -scheme(sj)-. 
However, neither one seems to give me different line types wheh plotting more than one line per graph. Is this a bug or am I doing something wrong?
 
Here is a simple example with the auto data:
 
 sysuse auto, clear
. graph twoway (lfit  weight length if  foreign==0)  (lfit  weight length if  foreign==1), scheme(s2mono)
 
< this produces a graph with two line, one solid and another "dashed".
 
. graph twoway (mspline  weight length if  foreign==0)  (mspline  weight length if  foreign==1), scheme(s2mono)

< this also produces a graph with two line, but theya re both solid .
 
I know that I can use -lpattern()-, but I rather not have to do that.
 
 
Thank you in advance,
Ricardo

Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index