Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to use pcolor with putting color smoothly?

1 vue (au cours des 30 derniers jours)
keisuke shimokawa
keisuke shimokawa le 19 Déc 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi,
I'd like to ask you the difference between matlab and gnuplot.
When I use plot like pcolor in gnuplot, gnuplot automatically adjust the values to show lattice-like values smoothly.
When I use pcolor to color in an array in Matlab, for example, I can get the figure attached.
How to color in some values with pcolor smoothly in the red region like gnuplot doing this?
Thanks

Réponses (1)

Image Analyst
Image Analyst le 19 Déc 2017
How do I know that's actually not really in the data and being shown accurately. Please attach your gray scale image.
Of course you could blur your image before displaying it. And you should display with imshow(), not pcolor(). pcolor() will not display the last row and last column of the image (try it with a small image of 4 rows and 4 columns just to prove it to yourself)!

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!