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]
st: sequential graphing
From 
 
"Lim,  Raymond" <[email protected]> 
To 
 
"[email protected]" <[email protected]> 
Subject 
 
st: sequential graphing 
Date 
 
Sun, 13 Feb 2011 12:44:48 -0500 
Hello Statalisters,
I'm making scatterplots of x-y coordinates using two different colors. Stata scatters the red dots first, then the blue. Sadly, the blue covers up most of the red. Is there a way to graph the red and blue dots in the sequence that they appear in the dataset so the end graph has a mix of red and blue? I also plan to do pcspike (connect two points with a line) graphs too.
I've already tried playing around with the transparency, msize and msymbol.
twoway scatter y x if type==16, mcolor(red) msize(vsmall) msymbol(+) || scatter y x if type==13, mcolor(blue) msize(vsmall) msymbol(+)
Thanks!
-Raymond
---
Raymond Lim
Research Coordinator
Columbia Business School - Finance & Economics Division
[email protected]
*
*   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/