Borrar filtros
Borrar filtros

Setting graph colour also visible in greyscale

12 visualizaciones (últimos 30 días)
Em
Em el 15 de Ag. de 2023
Respondida: Image Analyst el 15 de Ag. de 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!

Respuestas (1)

Image Analyst
Image Analyst el 15 de Ag. de 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.

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by