Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, is already up and running.

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

Re: st: Re: Histogram % sign

From   Nick Cox <>
To   "" <>
Subject   Re: st: Re: Histogram % sign
Date   Tue, 11 Jun 2013 08:04:16 +0100

The posting cited says precisely nothing about % signs.

But the method there can easily be extended to show % signs too. The key step is

gen percent = string(pc, "%2.1f")  + "%"

As far as -catplot- (SSC) is concerned,  it is and will remain true
while under it's under my control that -catplot- will not (be able to)
show % signs on top of bars.

Even for groups of readers under age 7 or senior executives, should
not be mentioning percent, percentage or % once somewhere be enough?

On 11 June 2013 05:59, Michael Stewart <> wrote:
> Dear Statalist users,
> I am generating multiple histograms and trying to place % sign on top
> of the  bars as  mentioned by Nick cox in
> Is there a simpler way to do it in stata OR are there any user written
> programs . ( The catplot suggested by Nick Cox doesnt' show the %).
> Along the same lines, is it possible to format the bar label to round
> them to nearest whole numbers.Looks like the format option is not
> available  in bar label properties.
> As always , thank you very much for your time and effort.
> --
> Thank you ,
> Yours Sincerely,
> Mike.
> *
> *   For searches and help try:
> *
> *
> *
*   For searches and help try:

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