Bookmark and Share

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


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

st: how to format ylabels in sts graph


From   Caleb Southworth <[email protected]>
To   [email protected]
Subject   st: how to format ylabels in sts graph
Date   Wed, 1 May 2013 08:10:09 -0700

sts graph defaults to proportions. Adding the option -per(100)-
changes the units on the yaxis to 100s. However the format is %9.1f
and I would like %9.0f (no decimal point).

(1) Is there a way to alter the format of the -per(#)- option?

(2) Can I get % signs after those ylabels?

Here's my syntax:

sts graph,  xlin(912, lpat(dash)) xlin(352, lpat(dot) lw(thick))
xlab(0(150)1500, angle(45)) ylab(,angle(0)) per(100)
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index