[Rd] Incorrect tick mark length when `tck' != NA (PR#3504)
BoersN at pac.dfo-mpo.gc.ca
BoersN at pac.dfo-mpo.gc.ca
Thu Jul 17 20:54:27 MEST 2003
Full_Name: Nicholas Boers
Version: 1.7.1 (2003-06-16)
OS: Windows NT 4.0
Submission from: (NULL) (199.60.94.186)
When I set the par() parameter `tck' equal to a number (i.e. not NA), the length
of the tick marks on the vertical axes (2 and 4) differs from the length of the
tick marks on the horizontal axes (1 and 3). This behaviour is not consistent
with the R documentation (or S-Plus' behaviour, if that matters).
You should be able to reproduce this problem using the following code:
par(plt = c(0.45, 0.55, 0.1, 0.9), tck = -0.04)
frame()
axis(1);
axis(2);
Here is the `tck' section from the par() documentation:
`tck' The length of tick marks as a fraction of the smaller of the
width or height of the plotting region. If `tck=1', grid
lines are drawn. The default setting (`tck = NA') is to use
`tcl = -0.5' (see below).
Thank-you for your time and considering this bug report.
More information about the R-devel
mailing list