diff --git a/+cheb/gallerysphere.m b/+cheb/gallerysphere.m index 82577caffd..d25f9c4ec4 100644 --- a/+cheb/gallerysphere.m +++ b/+cheb/gallerysphere.m @@ -170,7 +170,7 @@ % Compute a random spherefun f = randnfunsphere(0.079,'monochromatic'); fa = f; - type = 1; + type = 4; clrmap = gray(2); % Set the color axis so that the transition from white to black is % exactly at the value zero. @@ -238,10 +238,8 @@ ptitle = [name ', rank = ' num2str(length(f))]; % Determine the type of plot to make if type==1 - % Otherwise, plot the function. - %plot(f) + % Plot the function with a grid surf(f,'grid','k-') - plot(f) axis off, title(ptitle) elseif type==2 contour(f) @@ -251,8 +249,7 @@ contour(f,cntrlvl,'k-'), hold off axis off, title(ptitle) else -% plot(f) - surf(f,'grid','k-') + plot(f) axis off, title(ptitle) end