[R] grid location on plot

About this list Date view Thread view Subject view Author view Attachment view

From: Fred J. (phddas@yahoo.com)
Date: Sat 01 May 2004 - 08:58:44 EST


Message-id: <20040430225844.17228.qmail@web20507.mail.yahoo.com>

Hello
I have
x <- c(0.5, 0.7, 3.5, 1.5, 2.5, 2.8)
y <- c(0.5, 0.8, 1.5, 3.5, 1.5, 1.5)
plot.default(x,y,type="p",panel.first=grid(5,5))
I need to plot that on a grid of 0,1,2,3,4,5 showing
the grid lines on the these numbers. how can I do
this?
e.g
how can I contorl the x and y min,max values on the
plot and the location of the grid lines?

thanks

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST