Azzera filtri
Azzera filtri

Warning: RGB color data not yet supported in Painter's mode

1 visualizzazione (ultimi 30 giorni)
Hi smart guys,
Have you got any new solutions to this 'Warning: RGB color data not yet supported in Painter's mode'?
I got some codes like:
backgroundImage = image([a b],[c d], ... imageFile, 'CDataMapping', 'scaled', 'HitTest', 'off'); colormap(gray); patchImage = patch(square(5:8,:),square(9:12,:),'r');
to plot a patch on a background image. When I try to save it to .pdf (using 'print' or 'export_fig'), it gives 'Warning: RGB color data not yet supported in Painter's mode'. Also the patch can not be displayed correctly on the background image.
Some solution using rgb2cm (from Matlab FX), but still not work well on my problem
Please tell me if you have a good idea. Thanks very much!
Aaronne.

Risposte (0)

Categorie

Scopri di più su Surfaces, Volumes, and Polygons in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by