Borrar filtros
Borrar filtros

Plot a pixel intensity image

1 visualización (últimos 30 días)
Muniyat Rafa
Muniyat Rafa el 29 de Abr. de 2021
Editada: Matt J el 29 de Abr. de 2021
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.

Respuestas (1)

Matt J
Matt J el 29 de Abr. de 2021
Editada: Matt J el 29 de Abr. de 2021
Perhaps with 'jet',
imshow('cameraman.tif')
colormap jet
colorbar
  2 comentarios
Muniyat Rafa
Muniyat Rafa el 29 de Abr. de 2021
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 el 29 de Abr. de 2021
Editada: Matt J el 29 de Abr. de 2021
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.

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by