Eliminate vertices from surface plot

조회 수: 1 (최근 30일)
Fernando
Fernando 2023년 7월 17일
댓글: Fernando 2023년 7월 27일
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.
How could I do this?
Thank you.
  댓글 수: 4
Dyuman Joshi
Dyuman Joshi 2023년 7월 17일
Which lines do you want to eliminate? Can you highlight it in the image?
Fernando
Fernando 2023년 7월 17일
I hope this helps, I understand it maybe wasn't made very clear.

댓글을 달려면 로그인하십시오.

채택된 답변

Supraja
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 CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by