MATLAB: How to get more color gradient on a surface plot MATLABplot tools color map color gradient surface plot I have made a surface plot. The color gradient is mostly dark blue. How can I adjust the color gradient to get more colors? Adjusting the color map in the plot tools does not work. Best Answer You need to manually build a non linear colormap. Attach your data and script so people can show you how. Related SolutionsMATLAB: Error in using surf Hi,it's a known bug. Please apply that patch and try again. MATLAB: WindowButtonDownFcn conflicting with ButtonDownFcn You can insert an axes object spanning this whole figure as a background and use its ButtonDownFcn:BGcolor = get(0, 'DefaultFigureColor');BGaxes = axes('Units', 'normalized', 'Position', [0,0,1,1], ... 'XTicks, [], 'YTicks', [], ... 'Color', BGcolor, 'XColor', BGcolor, 'YColor', BGcolor, ... 'ButtonDownFcn', 'disp(''Background'')');DataAxes = axes('ButtonDownFcn', 'disp(''Data'')'; Related QuestionHow to disable Zoom and Pan in the post action callback
Best Answer