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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: Width of bars in graph bar


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Width of bars in graph bar
Date   Mon, 16 May 2011 12:04:55 +0100

No, I don't think so. 

It sounds as if you want something like -spineplot- (SJ). If -spineplot- is not what you want, its code shows that to get this you might need to use -twoway bar- repeatedly -- or possibly some area type. 

(N.B. Please don't send HTML to this list. It should be trapped, but yours got through.)  

Nick 
n.j.cox@durham.ac.uk 

From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of I.P.P.van.Lelyveld@dnb.nl

Is it possible to adjust the width of the bars in the graph bar command according to some weighing variable (say the number of observations in each category)? And is this also possible for hbar?


*
*   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