Hi I would like to plot a pixel image like figure with a color range red,yellow, green,blue. In example I couldnt find red as a combination.
Attached images for example.

답변 (1개)

Matt J
Matt J 2021년 4월 29일
편집: Matt J 2021년 4월 29일

0 개 추천

Perhaps with 'jet',
imshow('cameraman.tif')
colormap jet
colorbar

댓글 수: 2

Muniyat Rafa
Muniyat Rafa 2021년 4월 29일
Thank you so much Matt J I could bring the color range :D
Now for drawing how can I draw an image which is round in structure whereas pixel box is square in structure. Shall I increase the number of matrix?
Matt J
Matt J 2021년 4월 29일
편집: Matt J 2021년 4월 29일
Thank you so much Matt J I could bring the color range :D
You're very welcome. Please Accept-click the answer to cofirm that it reoslved your question.

댓글을 달려면 로그인하십시오.

카테고리

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

질문:

2021년 4월 29일

편집:

2021년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by