Skip to content
Prev 295754 / 398503 Next

barplot problem

On 05/27/2012 01:26 PM, jack hietpas wrote:
Hi Jack,
You can use the space argument in barplot to do this by running barplot 
with equally spaced bars, and getting the x positions of the bars in the 
return values. Then just space the bars out as needed with a vector of 
"space" values. This should give you a reasonable looking x axis, but 
you might have to pass the cumulative sum of bar positions and spaces if 
you want each bar labelled.

Jim