Statalist


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

Re: st: RE: RE: labels on bar graphs


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: RE: labels on bar graphs
Date   Tue, 01 Jul 2008 09:06:35 -0400

I think that if Stata had an automatic way to turn proportions (mean of a 0/1 variable) to percents, with the percent sign (as an option I guess), that would have completely solved my problem

Since my client is insisting on the presence of the % sign, the simple solution (multiply by 100) sent by Amanda does not work for me

Rich

Martin Weiss wrote:

Well, obviously I hit a sore spot with my "straw man", given that it
attracted a few replies... Maybe I should have turned that into a new thread
though, to keep Rich`s other concerns alive. Sorry for that.

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184
Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130
Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131
SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Frank de Libero
Sent: Tuesday, July 01, 2008 4:45 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: labels on bar graphs

<>

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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] 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/



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