Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Aaronne
Aaronne am 15 Okt. 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.

Antworten (0)

Kategorien

Mehr zu Surfaces, Volumes, and Polygons finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by