Contour plot 2005-02-09 - By dhkblaszyk@(protected)
> x <- log(1:10) > y <- log(1:10) > z <- 1:100 > contour(matrix(z,ncol=10))
> did not do what I expected it to do. I expected the contour lines to become compressed gradually.
I believe you want to do:
contour(x,y,matrix(z,ncol=10))
This will show the desired contour-plot.
Kind regards, Darius Blaszijk
______________________________________________ R-help@(protected) mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
|
|