[R] xaxp and grid()
mastropi at uwalumni.com
Wed Jun 26 01:34:25 CEST 2002
I use the option xaxp in the plot function and it is not recognized.
This affects the result of the function grid(), since it takes the default
tick marks used by the plot function, which is not what I want.
See for example the result of:
With grid(9) I want to set a vertical line at each integer value, but this
divides the interval [2,10] in 9 intervals, just because the first and last
tick in the x axis are 2 and 10, not 1 and 10 as I request with the xaxp
Anybody knows how to go around this problem?
I am using R1.5.0 under Windows Me.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help