Hello,
is it possible to turn of the grid of a surface plot, but keep the edge on?
If I do this, I have no grid and no edge:
Z1 = (0.5 .*(a1.*exp(-b1.*X1)+ e1.*exp(-f1.*X1))-c1.*exp(-d1.*X1)).*Y1.^2 +0.5.*(a1.*exp(-b1.*X1)-e1.*exp(-f1.*X1)).*Y1+c1.*exp(-d1.*X1)
s = surf(X1,Y1,Z1,'FaceColor',[0.1 0.0 1.0],'FaceAlpha',0.8,'EdgeColor', 'black','LineStyle','none', 'EdgeAlpha',0.2,'FaceLighting','flat')
hold on;
If I do this, I have a grid and an edge line:
Z1 = (0.5 .*(a1.*exp(-b1.*X1)+ e1.*exp(-f1.*X1))-c1.*exp(-d1.*X1)).*Y1.^2 +0.5.*(a1.*exp(-b1.*X1)-e1.*exp(-f1.*X1)).*Y1+c1.*exp(-d1.*X1)
s = surf(X1,Y1,Z1,'FaceColor',[0.1 0.0 1.0],'FaceAlpha',0.8,'EdgeColor', 'black','LineStyle','-', 'EdgeAlpha',0.2,'FaceLighting','flat')
hold on;
Thank you:)
Best Answer