Clear Filters
Clear Filters

switching between black/white and color

2 views (last 30 days)
Is there a simple switch that can convert the output plot between black/white and color?
A file containing many plot commands results in a single plot. I can modify each plot command to make it b/w but is there a wholesale simple way of converting all plots to b/w?

Accepted Answer

Walter Roberson
Walter Roberson on 18 Jul 2019
However, you could probably adapt the freezeColors File Exchange contribution so that instead of replacing mapped and pseudocolor graphics with the corresponding rgb graphics, that it did rgb2gray and repmat that along the third dimension to get a gray rgb color.

More Answers (0)


Find more on View and Analyze Simulation Results 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!