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: RE: different colour for subgroups in two way scatter graph
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
st: RE: different colour for subgroups in two way scatter graph
Date
Mon, 3 Oct 2011 14:26:32 +0100
SJ-5-4 gr0023 . . . . Stata tip 27: Classifying data points on scatter plots
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N. J. Cox
Q4/05 SJ 5(4):604--606 (no commands)
tips for using separate, gray-scale gradation, and text
characters as class symbols to classify data points on
a scatter plot
Nick
[email protected]
Abdul Q Memon
I would like to plot a graph in which deviance is y axis and estimated
value is on x-axis. I am doing this by using twoway and scatter commands.
twoway (scatter deviance Estimated value)
twoway (scatter deviance Estimated value), by (police force)
In the first command Is it possible to give different colours to groups of
observation (say by police force) so see which group observations have
high residual by fitted alue.
*
* 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/