Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Overlaying Scatter Plots


From   Joe Trubisz <[email protected]>
To   [email protected]
Subject   st: Overlaying Scatter Plots
Date   Sun, 10 Sep 2006 15:54:24 -0400

Hi...

OK...It might be simple, but it's driving me nuts!

I have a simple set of data

id residue x y

and I want to do a scatter plot, where I am overlaying each scatter plot as in:

scatter y x if residue == "A", msize(vtiny) mcolor(red) ||
scatter y x if residue == "T", msize(vtiny) mcolor(blue)

If I do a "help scatter", it seems to indicate that these will overlay each other.
But in my case, I'm getting 2-separate graphs, one next to each other.

What am I missing?

TIA,
Joe
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index