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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: Increase/Decrease Decimal Places without Graph Editor


From   Lisa Wang <lhwang0925@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Increase/Decrease Decimal Places without Graph Editor
Date   Fri, 19 Oct 2012 20:31:29 +1100

Hi all,

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?

Thank you for any suggestions,
Lisa
*
*   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/


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