Setting graph colour also visible in greyscale

조회 수: 9 (최근 30일)
Em
Em 2023년 8월 15일
답변: Image Analyst 2023년 8월 15일
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