Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How to use pcolor with putting color smoothly?

1 view (last 30 days)
keisuke shimokawa
keisuke shimokawa on 19 Dec 2017
Closed: MATLAB Answer Bot on 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

Answers (1)

Image Analyst
Image Analyst on 19 Dec 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)!

This question is closed.

Community Treasure Hunt

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

Start Hunting!