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: Scoreplot: different colors
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
st: RE: Scoreplot: different colors
Date
Fri, 18 Jun 2010 12:27:59 +0200
<>
*************
sysuse auto, clear
pca trunk weight length headroom
predict score1 score2, score
tw (sc score2 score1 if foreign, mlabel(foreign)) (sc score2 score1 if
!foreign, mlabel(foreign)), legend(off) tit(score Variables (pca))
*************
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Freitag, 18. Juni 2010 12:17
To: [email protected]
Subject: st: Scoreplot: different colors
Dear Statalist,
I need to dientify to identify different groups with different colors.
I am performing:
sysuse auto
pca trunk weight length headroom
scoreplot, component(2) mlabel(foreign) mcolor(green blue)
I can see the two different groups (domestic and foreign) but I need them
in different colors.
Could you please help me?
Thanks a lot
*
* 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/
*
* 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/