MATLAB: How to reverse colormap in contourfm mappingMapping ToolboxMATLAB I'd like to use the reverse of jet colormap in contourfm. contourfm seems to only accept standard string values for predefined colormaps. Best Answer ?? MATLAB's contourfm does not have a colormap argument at all, let alone a string.If you want to reverse the colormap, just do it:colormap(flipud(jet)) Related SolutionsMATLAB: Reverse the Colormap of Surf plot Grab the colormap and flip it upside down:f = figure;surf(peaks(50))colormap(f, flipud(colormap(f)))colorbar MATLAB: Contour Plot in gray scale colormap( flipud(gray(256)) )gray(256) would normally be brighter for higher values, so you reverse the order of the colors to get darker for higher values. Related QuestionColormapsHow to create a white imageColormapHow to calculate the own colormapText labeling with contourfm colorbarMapping, colormap, eigenvector
Best Answer