Setting graph colour also visible in greyscale

9 次查看(过去 30 天)
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!

回答(1 个)

Image Analyst
Image Analyst 2023-8-15
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.

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by