Does anybody know, how to really clip/truncate surface plot to axes limits? I.e. make it not displaying any data out of the limits? One of the possible ways is of course replace data out of limits with NaNs, but this makes saw-tooth pattern near limits, which does not look ok.
This question have already been asked long ago (<http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/294827>) by other user, but no answer have been given.
In MatLab documentation in Surface Properties there is a property Clipping, and it says 'Clipping to axes rectangle. When Clipping is on, MATLAB does not display any portion of the surface that is outside the axes rectangle.'. But it does not work (MatLab 7.12.0 (R2011a))!
So can anybody clarify this issue?
Thanks in advance,