Setting graph colour also visible in greyscale

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!

Respuestas (1)

Image Analyst
Image Analyst el 15 de Ag. de 2023

0 votos

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.

Categorías

Más información sobre Color and Styling en Centro de ayuda y File Exchange.

Productos

Preguntada:

Em
el 15 de Ag. de 2023

Respondida:

el 15 de Ag. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by