how i remove blue portion from graph
1 回表示 (過去 30 日間)
古いコメントを表示
0 件のコメント
採用された回答
Walter Roberson
2023 年 4 月 24 日
It appears that you have created a surface from a 2D array that has a row of 0 on the top and left edges.
Depending exactly how you are plotting, you might be able to trim that row and column before doing the plotting. Or you might be able to replace the 0's with NaN before doing the plotting. These possibilities might not work as hoped if you are using surf(), as surf() interpolates face color based upon adjacent values and NaN in particular could potentially end up "poisoning" the edges that you do want.
Another approach, depending on how you did the plotting, might be to adjust the color of those particular faces to be 'none' or NaN to make those faces transparent. You might be able to adjust the graphic object CData or AlphaData
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
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!