Hello everyone,
the following code rotates the plot that is produced by the function surf().
%example for surf:
hsurf= surf(peaks(20));direction = [1 0 0];rotate(hsurf,direction,25);
It does not work, however, for the function fsurf():
% example fsurf:
f = @(x,y) x;g = @(x,y) y;h = @(x,y) x*0;hfsurf = fsurf(f,g,h);direction = [1 0 0];rotate(hfsurf,direction,25);
Could someone tell me how to fix this problem?
Thanks!
Best Answer