Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Text in graph


From   Phil Clayton <philclayton@internode.on.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Text in graph
Date   Wed, 23 Nov 2011 22:53:44 +1030

Try getting rid of the commas after lcolor(gs1) and lcolor(gs7)

Phil

On 23/11/2011, at 10:46 PM, Lars Folkestad wrote:

> 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/


*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index