Improving resolution for a surf plot in MATLAB
10 ビュー (過去 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!