[R] grid() : start values?
murdoch at stats.uwo.ca
Fri Apr 25 14:19:03 CEST 2008
On 4/25/2008 5:32 AM, Agustin Lobo wrote:
> is not there any way to tell grid() the starting value? With nx,ny
> I get the right number of grid cells, but not on the exact
> values I would like them. (I know I can do it with abline(), just
> asking for an easier way, i.e. grid(nx,nx,start.x,start.y))
See the help page:
If more fine tuning is required, use 'abline(h = ., v = .)'
abline(h=seq(starty, stopy, len=ny), v=seq(startx, stopx, len=nx))
> An alternative way (which would solve another problem) would be making
> the axes coincident with the rectangular plot region, that is, if ploting
> get (0,0) just on the bottom down corner of the rectangle. I've tried
> with several par() and could not find the way.
More information about the R-help