jump to navigation

Applying limit to surface plot in MATLAB August 30, 2010

Posted by viboon in : Matlab , add a comment
1
2
3
4
z=peaks;
z(abs(z)>2)=nan;
surf(z);
zlim([-10 10]);

NaN will not be included.


Tags: , ,

Related posts: