Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Lisa Wang <lhwang0925@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Increase/Decrease Decimal Places without Graph Editor |
Date | Fri, 19 Oct 2012 20:46:47 +1100 |
Thank you so much for your quick response! Now, I understand also the relevant section of the help file for scatter much better now! Also, thanks for the correction of my format as well. Lisa On Fri, Oct 19, 2012 at 8:39 PM, Nick Cox <njcoxstata@gmail.com> wrote: > What documentation suggests that there is a -yformat()- option? Try > > ... yla(, format(%9.1f)) > > N.B. %9.1f, not 9.1%f. See -help format-. > > Nick > > On Fri, Oct 19, 2012 at 10:31 AM, Lisa Wang <lhwang0925@gmail.com> wrote: > >> I am wondering how I can specify the number of decimals that will show >> for the x- or y-axes units without having to resort to graph editor to >> adjust it. >> >> For instance, I wanted to do: >> twoway (scatter var1 var2 if var3>0, sort), xtitle(abc) ytitle(def) >> note(my notes) yformat(9.1%f) >> >> but it always returns option yformat not allowed. OK...If this option >> is not feasible, how could I make values of the y-axis units always >> display at least 1 decimal place? Or more generally, how can I ensure >> that the x- or y-axes display "n" number of decimal places? > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/