Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Increase/Decrease Decimal Places without Graph Editor

From   Nick Cox <>
Subject   Re: st: Increase/Decrease Decimal Places without Graph Editor
Date   Fri, 19 Oct 2012 10:39:45 +0100

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


On Fri, Oct 19, 2012 at 10:31 AM, Lisa Wang <> 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:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index