[R] What am I doing wrong with xyplot?

John S. Walker jsw9c at virginia.edu
Tue Apr 30 20:01:35 CEST 2002


G'day

I was playing around with R trying out some of the plotting functions when I came across
what may be a bug in xyplot or (more likely) me doing something wrong.

try this:
	x<-1:10
 	y<-sin(x)   #yes I know it's an under sampled function
	xyplot(y~x)
	lines(x,y)  #at this point the lines do not lay on the xypoints
	spline(x,y)
	points(x,y)  # in my installation the points(x,y) do not lay on the xyplot points

My version is the latest available from debian (Version 1.5.0 Under development (unstable)
(2002-03-30)). Does anybody else see this?

John Walker

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list