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: barcharts with error plot + legend?


From   Muhammad Anees <[email protected]>
To   [email protected]
Subject   Re: st: barcharts with error plot + legend?
Date   Thu, 24 Nov 2011 09:38:40 +0500

You can get an idea to start from

-help graph bar-

and a bar chart could be generated from

-graph ()bar (mean) yournumericalvariable, over(region) by(anothervariable)-

and the paranthesis before -bar- can contain -h- for horizontal if you
desire otherwise simple -bar- would give a vertical bar chart.

On Thu, Nov 24, 2011 at 4:25 AM, Guo Xu <[email protected]> wrote:
> Dear list,
>
> 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!
>
> Thanks a lot,
>
> Guo
> *
> *   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/
>



-- 

Regards
---------------------------
Muhammad Anees
Assistant Professor
COMSATS Institute of Information Technology
Attock 43600, Pakistan
www.aneconomist.com

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index