[Rd] Plotting points on a filled.contour plot (PR#857)

marchini@stats.ox.ac.uk marchini@stats.ox.ac.uk
Tue, 27 Feb 2001 10:00:33 +0100 (MET)


Full_Name: Jonathan Marchini
Version: R 1.2.2
OS: linux-gnu
Submission from: (NULL) (163.1.103.108)


When adding points to a filled.contour plot they do not appear at the correct
coordinates.
The following code demonstrates this.
 
a<-expand.grid(1:20,1:20)
b<-matrix(a[,1]+a[,2],20)
filled.contour(x=1:20,y=1:20,z=b)
points(10,10)  

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._