I have been trying to display a png image with a certain background color (image background not the figure window background color), lets say [0.9 0.5 0.4]. I have gone through some of the forums but I don't get an expected result.
I have used imshow and image, while image shows a colorful picture. The following is my code:
[x,~,m] = imread('XYZ.png');
set(gca,'Color',[0.9 0.5 0.4])
I automatically get a yellow background, while the real image has white background.
In general, I would like to know how to change this yellow backgroundcolor to a given color code.