<>
Rich originally asked for help not only to display "%" but much more. That's
how I read his message (below). Then Martin (see below Rich's message)
introduces what seems to be a straw man:
[Why should users be forced] go to such lengths for a mundane task like
labeling with percentages...
And the thread then went adrift given the general frustration (including
mine) about not having an enhanced -format- that includes "%". But as I read
Rich's original post, he was asking for a method that helped automate the
placement and value of the label, and then attaching a "%". The "clever
solutions" were not so much about displaying a "%" as they were about where
to display it and automatically display the value. A simple change in the
-format- command or equivalent would not solve all that. I think the
subsequent aspersions on Stata are unfair and stray from the original
question.
..Frank
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Richard Goldstein
Sent: Sunday, June 29, 2008 1:53 PM
To: statalist
Subject: st: labels on bar graphs
Hi:
I need to produce a sizable number of bar graphs for a client. The
client wants the y-axis to be labeled as, e.g., "15%" rather than as,
e.g., .15. The range of proportions for these graphs varies quite a bit
(from a max of less than .05 to a max of over .2) so I don't want to
force them all to be the same.
After seeing a graph, it is easy enough to use the ylabel option to get
what I want. Given that I am generally willing to live with Stata's
automatic choice of tick marks, is there a way to automatically get
labels in the form I want (e.g., "15%") rather than the way Stata wants
(e.g., .15)?
Thanks,
Rich
=================================================
All these clever solutions have a funny tendency to remind me of one thing:
a software that takes prides in its graph capabilities should not force
users to go to such lengths for a mundane task like labeling with
percentages...
Martin Weiss
*
* 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/