zhangyangsmith 发表于 2014-2-25 20:08 
A contour plot is just a 2D way of presenting a 3D plot by drawing curves on which z=f(x,y) has the ...
x,y的维度,已经改小了。但仍然不行。看不到中间的图
好比现在这个:
my.fun <- function(x,y){y - sin(y) - x - tan(x)}
x<-seq(-5, 5, by = 0.01)
y<-seq(-50, 50, by = 0.1)
z<-outer(x,y,my.fun)
options(max.contour.segments=50000)
contour(x, y, z,levels=0, labels="", labcex=0, xlab = "x", ylab = "y")