Hello,
I would like to shift the plot produced by
openExample('graphics/ParameterizedSurfacePlotExample')
with respect to the x,y-axis. My ansatz is
r = @(u,v) 2 + sin(7.*u + 5.*v);funx = @(u,v) r(u,v).*cos(u).*sin(v);funy = @(u,v) r(u,v).*sin(u).*sin(v);funz = @(u,v) r(u,v).*cos(v); % fsurf(funx,funy,funz,[0 2*pi 0 pi]); % This plot should be shifted
xshift = 2; yshift = -2;fsurf( @(u,v)funx(u-xshift,v-yshift), @(u,v)funy(u-xshift,v-yshift), @(u,v)funz(u-xshift,v-yshift), [0 2*pi 0 pi])
However, this does not work.
Thanks for any help!
Best Answer