0

I'm trying to export plots of MATLAB but the colours change a bit.

This is my exportation using RGB and 600 as resolution:

enter image description here

And this the screenshot:

enter image description here

I would like to know how can I keep the red of the screenshot one.

Thank you.

  • sometime the color of the image will change a little, but maybe you could try `plot(x,y,'Color',[0.9,0,0.3]) ` and change the color of your figure. – Hunter Jiang Jan 30 '18 at 12:57
  • @HunterJiang I'm going to try that way. Cheers. –  Jan 30 '18 at 13:33
  • 2
    I don't see a color difference. Your plot is made with lots of lines, it is possible that the exported figure, having a higher resolution, gives a less dense collection of lines, letting you see more of the background through. Reducing the resolution to that of the screen would solve the issue, but is not what you're after. – Cris Luengo Jan 30 '18 at 14:09

1 Answers1

0

Did you try this framework? https://de.mathworks.com/matlabcentral/fileexchange/23629-export-fig

Else this problem might be related to the export command Export Matlab figure as PNG?

Jay-Pi
  • 343
  • 3
  • 13