On 01/19/2014 07:48 AM, Chrisee wrote:
Hello guys,
I'm using the barp function from the plotrix package, which works really
really great.
Unfortunately, I need a finer spacing of the labels on the y - axis.
Is there any way to control this?
Looking at the documentation of barp, it seems to be done rather
automatically.
An option would be to not plot axes at all from "barp", and add them later
by using axes(), which I was not able to get to work..
I tried axes=FALSE, and yaxt="n", and par settings: yaxp = c(a,b,n), all of
which did not work.
Hi Chrisee,
Look at the arguments "height.at" and "height.lab". These allow the user
to place tick marks and labels anywhere on the Y axis (height.at) and
define the labels (height.lab) much like the "axis" function. Check the
first example on the help page to see how it is done.
Jim
______________________________________________
R-help@r-project.org 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.