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: three color scheme


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: three color scheme
Date   Mon, 2 Aug 2010 09:59:15 +0000 (GMT)

--- On Mon, 2/8/10, Jörg Eulenberger wrote:
> everyone knows about or had an scheme like s2mono with one
> additional color (in my case red)?

If you just want to do this rarely you often don't need a 
extra scheme, most objects have a color option, as is 
illustrated in the example below:

*---------------------- begin example -------------------
sysuse auto, clear
twoway scatter mpg weight if make != "Subaru" || ///
       scatter mpg weight if make == "Subaru" ,  ///
	   mcolor(red) scheme(s2mono)
*---------------------- end example ----------------------
(For more on examples I sent to the Statalist see: 
http://www.maartenbuis.nl/example_faq )

Vince Wiggins gave a talk on how to create your own scheme
at the 2006 UK Stata Users' meeting. This might be useful
when you want to use this many times. The materials of 
that talk can be found here:
http://econpapers.repec.org/paper/bocusug06/11.htm

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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