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: Text in graph
From
Lars Folkestad <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Text in graph
Date
Wed, 23 Nov 2011 13:16:11 +0100
Dear List
I seem to be doing somthing wrong. I cannot get text into my twoway plot with rcap option.
The code:
twoway scatter var1 group if group == 1 , mcolor(gs1) text(1.5 150 "I want text here", color(black)) || rcap uppervar1 lowervar1 group if group == 1, lcolor(gs1) ,text(1.0 150 "**", color(black)) || ///
scatter var2 group if group == 2 ,mcolor(gs7) || rcap lowervar2 uppervar2 group if group == 2 ,lcolor(gs7), ///
ytitle(vBMD trabecular [mgHA/cm3]) xscale(range(0 3)) title(Trabecular vBMD Tibia) legend(on) ///
graphregion(fcolor(white) lcolor(white)) xlabel(none) xtitle( " " )
What am i doing wrong?
lars
*
* 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/