:01C75A11]
Sender: [email protected]
Precedence: bulk
Reply-To: [email protected]
Errors-To: [email protected]
Hi all -
Had a graphing conundrum. I am plotting a graph where I basically want the
marker label to serve as the point on the graph. So, I am basically settin=
g
the marker symbol to invisible and positioning the label at the 0 clock
position. This is all fine and dandy, except now the legend has no symbol
to correspond to the marker (because its invisible, right?). What I would
like to do is to change the color in the legend to correspond with the labe=
l
- which means I would need 3 different colors for the text in the legend.
Here's the command:
twoway
(scatter excel grad evol game, mlabel(abb abb abb) mlabv(pos) ms(i i i))
(scatter actual game, msym(o) c(l) lc(ltblue) msize(small) mc(ltblue))
,
title("Figure 3: Model Predictive Capacity")
ytitle("Point Spread")
note("Note: Points after red line denote out of sample predictions")
xline(21.5, lp(_) lc(red) )
yline(0, lc(black))
legend(span row(1))
;
Any help would be great!!!!
Best,
Ben
_________________________________________________________________
Find a local pizza place, movie theater, and more=85.then map the best rout=
e!
http://maps.live.com/?icid=3Dhmtag1&FORM=3DMGAC01
*
* 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/