Setting graph colour also visible in greyscale

8 views (last 30 days)
Em
Em on 15 Aug 2023
Answered: Image Analyst on 15 Aug 2023
Hi all, I'm trying to plot multiple datasets to one graph but instead of just using 'Colour', c(85,:), I want to make sure that it is visible in greyscale. Does anyone know how to do this? Thank you!

Answers (1)

Image Analyst
Image Analyst on 15 Aug 2023
If you want you can set up your own colormap. You might want to use gray and then use just specific rows from it, like you did with your color colormap. Or if you want to continue using the color colormap, you should be able to see the colors when printed in gray scale if the average of the row is around 150 or less. The lower the average of the row, the darker it will appear when printed in gray scale.

Categories

Find more on Colormaps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!