Bookmark and Share

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

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

st: sequential graphing

From   "Lim, Raymond" <>
To   "" <>
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(+)

Raymond Lim
Research Coordinator
Columbia Business School - Finance & Economics Division

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index