From: earl frunj on
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!