Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to use pcolor with putting color smoothly?

1 Ansicht (letzte 30 Tage)
keisuke shimokawa
keisuke shimokawa am 19 Dez. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (1)

Image Analyst
Image Analyst am 19 Dez. 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)!

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!