Aimin Yan wrote:
How to use "contour" function?
I type "contour(th1,th2,SumofSquares,levels=c(seq(1000,4000,200)))"

But I didn't see contour in the plot, I guess it is because my data is so big that contour is out of range.

It looks like it, given the data you showed. If you leave out the 'levels' argument then the contour function tries to pick good values for the contour lines. Why dont you try that?


contour(th1,th2,SumOfSquares)

Barry

______________________________________________
[EMAIL PROTECTED] 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

Reply via email to