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

1 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surfaces, Volumes, and Polygons 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by