Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Aaronne
Aaronne le 15 Oct 2012
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.

Réponses (0)

Catégories

En savoir plus sur Surfaces, Volumes, and Polygons dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by