From: earl frunj on 14 Feb 2010 14:55 Hey everyone. I was hoping you could help me with getting the contour lines in a simple "v" vector to plot. Below is the code I'm using. Instead of following the level set values in v, meshc just throws it out and plots the default level sets. Also, the function is not plotted above these default contour lines. What is incorrect? [x y] = meshgrid(-1:1,-1:1); z=((y-x).^4) + (12*x*y) - x + y - 3; v=sort([1.3765 -4.7342 0.3484]); meshc(x,y,z,v) Thanks for your help!
|
Pages: 1 Prev: please what is the name of this method Next: Applying a function to a matrix |