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: changing bar width on graph


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: changing bar width on graph
Date   Mon, 31 Mar 2014 01:25:27 +0100

As you started: change -bargap()-.

Nick
[email protected]

On 31 March 2014 01:14, Ankit Sakhuja <[email protected]> wrote:

> I am trying to make a bargraph with following information:
>
> var1      W         X        Y       Z
> ABC    16.6      12.8    13.6   15.6
>
> I am using the following code:
>
> graph bar (asis) W X Y Z, over(var1) bargap (50)
>
>
> I am able to generate the bargraph this way, however, I was wondering
> if there is a command to alter the width of the bars itself. I tried
> using the option barwidth(##) but I get an error message saying
> "option barwidth() not allowed"
*
*   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