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]

st: sequential graphing


From   "Lim, Raymond" <rl2240@columbia.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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
RL2240@columbia.edu

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