Thank you very much Greg,
This was helpful.
With yaxs=r I can easily obtain the Y-axis labels with :
rg - range(y) + 0.04 * diff(range(y)) * c(-1, 1)
pt - pretty(y)
axTicks(side=2,
usr=c(0, 1, rg),
axp=c(min(pt),
max(pt[pt = max(rg)]),
Dear all,
I'd like to know how I could compute the parameters yaxp and (the y
components of) usr without having to plot the data first. Note that
ylim is /a priori/ fixed.
The aim is to automatically adjust the parameter mgp without having to
make the plot twice. Then, with yaxp and usr
AM
To: r-help@r-project.org
Subject: [R] How to compute yaxp and usr without plotting ?
Dear all,
I'd like to know how I could compute the parameters yaxp and (the y
components of) usr without having to plot the data first. Note that
ylim is /a priori/ fixed.
The aim
3 matches
Mail list logo