MATLAB: Could I change the color of specific point colorbar Hi, all I have a matrix 49×49, It's contains 0~10000 value. When I plot this matrix, use colorbar. But the zero value point,I want to use white color to present this point. How can I do? Thanks. Best Answer Get the colormap, set 0 to white, then reapply it.cm = colormap;cm(0, :) = [255 255 255];colormap(cm); Related SolutionsMATLAB: Increase RGB image saturation. This is easier in HSV colorspace:RGB = rand(100, 100, 3);HSV = rgb2hsv(RGB);% "20% more" saturation:HSV(:, :, 2) = HSV(:, :, 2) * 1.2;% or add:% HSV(:, :, 2) = HSV(:, :, 2) + 0.2;HSV(HSV > 1) = 1; % Limit valuesRGB = hsv2rgb(HSV); MATLAB: Change a specific color(assigned to a value) con a colorbar cmap = colormap; %current mapcmap(1,:) = [1 1 1]; %make first color whitecolormap(cmap); %put it into effect Related QuestionColormap Question for script requirements? – HomeworkCreate a colormap for scatter3I have a binery information ,how can i make an image with the help of thisHow to create a white image
Best Answer