Can only print some plots in color
Show older comments
On MATLAB 7.6.0.324 (R2008a) on MacOS 10.6.8, some plots print in color and some do not.
[H] = plot(A, [B, C]); colormap(jet);
and
[V] = area(A, [B, C]); colormap(jet);
both yield plots in color on my screen. In the plot's windows, File -> Print -> Appearance -> Color Appearance -> Radio button clicked on Color (Monochrome is grayed out) -> Print yields a color print from the area plot, but a monochrome print for the plot plot.
How do I successfully print a color plot? It's clear my system is capable of printing in color, as the area plots print in color (I don't even have to set the Color Appearance to color for the area plots; they'll print in color even if I type "print" into the Command Window).
Answers (1)
Walter Roberson
on 3 Jul 2012
0 votes
Check the Renderer property of the current figure after creating each of the plots. I suspect you are having trouble printing plots created with some of the renderers.
2 Comments
Eric Wilhelm
on 3 Jul 2012
Walter Roberson
on 3 Jul 2012
Hmmm... Perhaps try setting Renderer to OpenGL
And instead of print(), try the File Exchange contribution "export_fig"
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!