Eliminate vertices from surface plot
5 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have this 3D surface plot and I would like to eliminiate the lines that move in the increasing values of AA so that the other lines can be seen more clearly. These are the set of lines parrallel to the light blue ink edit.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1435983/image.jpeg)
How could I do this?
Thank you.
4 件のコメント
Dyuman Joshi
2023 年 7 月 17 日
Which lines do you want to eliminate? Can you highlight it in the image?
採用された回答
Supraja
2023 年 7 月 26 日
I understand that you want to remove the lines which indicate the increasing values of AA.
You can use the ‘diff’ function in MATLAB, whose documentation link is attached below.
https://www.mathworks.com/help/ident/ref/iddata.diff.html?searchHighlight=diff%20&s_tid=srchtitle_support_results_3_diff%2520
For example if you want to remove the increasing values of y1:
y1_increasing = diff(y1) > 0; % Identify where the line is increasing
y1(y1_increasing) = NaN; % Set the increasing values to NaN
その他の回答 (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!