Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: y axis significant digits


From   Chris Witte <eljefespeaks@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: y axis significant digits
Date   Sun, 30 Mar 2008 19:16:16 -0700 (PDT)

ok, I found that I can use "format %9.1fc" to get one decimal point in my axis values (took a guess from looking at the stata manuals)....so where do I find more information as to what this "%9.1fc" means?

----- Original Message ----
From: Chris Witte <eljefespeaks@yahoo.com>
To: statalist@hsphsun2.harvard.edu
Sent: Sunday, March 30, 2008 8:55:17 PM
Subject: st: y axis significant digits

Is there a way to control the number of significant digits presented on the y-axis in a twoway scatter plot?  My current graph has values of 1.6, 1.8, 2, 2.2, but I would like to have the "2" be "2.0".  Below is my code (I tried to input the desired values into the ylabel option, but it still just printed "2" instead of "2.0"):

(connected mmtw time if study=="one" & sex=="f" & trt==8, lcolor(ltblue) lpattern(solid) lwidth(thick) msymbol(point) mcolor(gs13) mlabel(temp) mlabsize(medium) mlabcolor(gs0)), ytitle(Average Female Total Weight (g)) ylabel(1.6 1.8 2.0 2.2, angle(horizontal)) xtitle(Time) xlabel( 1 "Start" 2 "Middle" 3 "End", noticks) legend(off) scheme(s1mono) graphregion(lcolor(none) ilcolor(none)) plotregion(lcolor(none))

thanks,
Chris


      ____________________________________________________________________________________
Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster Total Access now 
http://tc.deals.yahoo.com/tc/blockbuster/text3.com
*
*  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/


      ____________________________________________________________________________________
OMG, Sweet deal for Yahoo! users/friends:Get A Month of Blockbuster Total Access, No Cost. W00t 
http://tc.deals.yahoo.com/tc/blockbuster/text2.com
*
*   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/



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