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]
Re: labels for bar charts [was: Re: st: Stata 13 wishlist]
From
William Buchanan <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: labels for bar charts [was: Re: st: Stata 13 wishlist]
Date
Fri, 4 Jan 2013 13:15:30 -0800
Hi Nick,
It comes up when creating stacked bar graphs and/or a wrapper I created at work for your -catplot- package (available from ssc). The context is typically in the case of an observational protocol where the company wants one bar per category per year, where each bar represents the percentage of the total observations in a given year.
I'll try to find an example graph and post it somewhere later.
Thanks again,
Billy
Sent from my iPhone
On Jan 4, 2013, at 12:32, Nick Cox <[email protected]> wrote:
> I'm separating this out because I am wondering what the exact problem
> is and whether there is a solution within Stata 12.x.
>
> Is this -graph bar- or -twoway bar- or ...?
>
> Is it means of zero you don't want labelled, or what? Groups with
> frequency zero tend not to be plotted.
>
> Could you give an example?
>
> Nick
>
> On Thu, Jan 3, 2013 at 4:04 PM, William Buchanan
> <[email protected]> wrote:
>
>> 1. Adding a suppression option to graph commands for labels. For example, I often need to generate bar graphs with bar heights labeled but think it'd be nice if I could selectively suppress 0 values; the graphs aren't my choice, but this is one way I think I could make the graphs even cleaner.
>
> *
> * 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/
*
* 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/