[R] barplot - how to force vertical axis to cover entire plot area

From: Etienne <etiennesky_at_yahoo.com>
Date: Thu 07 Dec 2006 - 00:43:21 GMT

I'm using barplot with the following call:   


On some data, the vertical axis does not cover the whole plot area and the last tick mark is smaller than the maximum value.

I tried setting the ylim values but even with that, some plots are still not OK, it just shrinks the length of the bars.

Attached is a png example of the problem. I hope it gets through.


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Received on Thu Dec 07 12:22:37 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 08 Dec 2006 - 04:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.