Skip to content
Prev 295706 / 398503 Next

How to change width of bar when there are very few bars?

On 05/26/2012 12:26 PM, Manish Gupta wrote:
Hi Manish,
If you are using the "barplot" function, you probably want to specify 
both "width" and "space". If you just want to specify a single number, 
look at the "barp" function in the plotrix package, where "width" is the 
parameter that controls the width of the bar as a proportion of the 
distance between bar centers. Note that you won't get different bar 
widths with barp.

Jim