Bookmark and Share

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


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

Re: st: sequential graphing


From   Christopher Baum <kit.baum@bc.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: sequential graphing
Date   Sun, 13 Feb 2011 13:05:59 -0500

<>

It appears you can control this just by the order in which the twoway commands appear: compare

. sysuse auto

. tw scatter price mpg if foreign, mcolor(red) || scatter price mpg if !foreign, mcolor(blue)

. tw scatter price mpg if !foreign, mcolor(blue) || scatter price mpg if foreign, mcolor(red) 

Kit



Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index