Improving resolution for a surf plot in MATLAB
조회 수: 15 (최근 30일)
이전 댓글 표시
I am using the SURF command to represent some data. I want to plot the surface of a disc in a 3d chart.
The only problem is that my data is in a 9x9 format, this naturally results in a square looking surface. I’d like for the resulting surface to look like a circle.
Is there way to “cut off” the edges somehow?
댓글 수: 1
Todd Flanagan
2011년 1월 21일
Hi, I moved your answer to a comment on Doug's answer. That's a good place for that sort of back and forth.
답변 (2개)
Doug Hull
2011년 1월 20일
NaN does not get shown in a surf plot.
a = magic(10)
a([1,2,11,90,99,100]) = NaN
surf(a)
view(2)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!