[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: labels on bar graphs

From   "Frank de Libero" <>
To   <>
Subject   st: RE: labels on bar graphs
Date   Mon, 30 Jun 2008 19:44:51 -0700


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


-----Original Message-----
[] On Behalf Of Richard Goldstein
Sent: Sunday, June 29, 2008 1:53 PM
To: statalist
Subject: st: labels on bar graphs


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)?


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

Martin Weiss

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index