Bookmark and Share

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: st: Creating bar graph where cluster of bars is one variable rather than several variables in each cluster


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Creating bar graph where cluster of bars is one variable rather than several variables in each cluster
Date   Thu, 24 Oct 2013 09:23:19 +0100

-statplot- (SSC) will do this for you.

clear
ssc inst statplot
h statplot
sysuse auto
statplot turn trunk, over(foreign) recast(bar)

The default of -statplot- is a -graph hbar-, which I'd recommend over
-graph bar- as it is usually easier to read.

Eric A. Booth is the first author of -statplot-, but I think the email
address given in the help file on SSC is out-of-date. I'll check.

Nick
[email protected]


On 24 October 2013 04:24, [email protected] <[email protected]> wrote:
> I would like on one axis rather than several variables in each
> cluster, each cluster to be a single variable group and each bar in a
> cluster to be the mean of the group variable. ie. each bar in the
> cluster being the mean of that cluster's variable. So several clusters
> on the axis.  Thank you,  Frank
> *
> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index