contour with white lines
This is using only one colormap for the pcolor code and displays the contour with white lines.
colormap(jet(colorDepth)); hold on; pcolor(x,y,data); shading flat [C,hfigc] = contour(x, y, data,[0:0.1:1]); set(hfigc, ... 'LineWidth',1.0, ... 'Color', [1 1 1]); hcb = colorbar('location','EastOutside', ... 'FontSize' , FontSize , ... 'FontName' , FontName , ... 'Ylim' , [0 1] , ... 'Box' , 'on' , ... 'TickDir' , 'in' , ... 'TickLength' , [.02 .02] , ... 'LineWidth' , 0.6); hcLabel = ylabel(hcb,zLabelText); set([hcLabel], ... 'FontSize' , FontSize , ... 'FontName' , FontName); hold off; |