필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to use pcolor with putting color smoothly?

조회 수: 1 (최근 30일)
keisuke shimokawa
keisuke shimokawa 2017년 12월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Image Analyst
Image Analyst 2017년 12월 19일
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)!

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!