Smooth contours in simple 2D matrix
이전 댓글 표시
Dear all,
I have a 2D matrix that I plot via imagesc. It's a simple matrix full of three numbers: 1, 2 and 3 (attached)
I would like to have smooth contours separating the regions of ones, twos and threes, instead of the rough boundaries. How could I do it? Thanks, for the help!
답변 (1개)
Mike Garrity
2015년 6월 5일
0 개 추천
Contour won't you control the interpolation, but you can do it yourself. You basically need to follow this example I posted on the graphics blog for surface:
카테고리
도움말 센터 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!