How to do a grip map?

Hi everyone, i'm trying to create two grid maps like this one. One has 256*45 and the other has 282*45. In fact, a friend of mine provided me a Matlab script that creates this type of figures, but I'm not totally satisfied because of the shade of black on the bottom of the map which I selected in the picture attached . In short, I'm trying to convert a matrix of numbers (only containing the values 1,2 or 3) in a colourmap corresponding a colour to each number. Is there any better code that i can use to do this?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Color and Styling에 대해 자세히 알아보기

태그

질문:

2020년 2월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by