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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: barcharts with error plot + legend?


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: barcharts with error plot + legend?
Date   Thu, 24 Nov 2011 10:20:01 +0100

On Thu, Nov 24, 2011 at 12:25 AM, Guo Xu wrote:
> I'm looking for a procedure that can swiftly create barcharts with
> over(.) and by(.) + allows me to add a legend. Basically, I'm looking
> for an easy way to create this:
>
> http://www.ats.ucla.edu/stat/stata/faq/barcap.htm
>
> The procedure described on the website, however, is incredibly tedious
> and I failed to find a shortcut. I'd be grateful for any suggestions
> or hints!

I don't think that short-cut exists yet. If you find that you are
making that graph often than you can just combine that sequence of
commands in a little .ado file, and thus create that short-cut
yourself. Whether that is worthwile depends on how often you expect to
want to make that graph.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index