|
Hi All,
I had the following code to plot the membrane function. However, i realized that there will be a certain part of the plot which appear in terms of grid instead of coloured. I understand that membrane is the logo of matlab. Can anyone advise me on how to amend the below code so that the part of the plot which is in grid line is not shown? I still wan the axis to be on for the plot. The code is below:
Fs=fs/(1024*1024);
temp = [0.5*Fs, 0.9*Fs, 2*Fs^2, ...
1.5*Fs, 4*Fs, 5*Fs, 6*Fs, ...
5*Fs^2, 5*Fs^2, 7*Fs, 8*Fs, 9*Fs];
% Eigenfunctions
for k = 1:12
L{k} = membrane(k);
end
% Get coefficients from eigenfunctions.
for k = 1:12
c(k) = L{k}(25,23)/3;
end
% Set graphics parameters.
fig = figure;
set(fig,'color','white')
x = (-15:15)/15;
h = surf(x,x,L{1});
[a,e] = view;
view(a+90,e);
axis([-1 1 -1 1 -1 1]);
caxis(26.9*[-1.5 1]);
colormap hsv;
axis on
|