plotting multiple surfaces out of a 3d variable

조회 수: 1 (최근 30일)
Asliddin Komilov
Asliddin Komilov 2019년 8월 17일
답변: Walter Roberson 2019년 8월 18일
I have a matrix G(X,Y,Z) that I try to plot as surface for each value of X in the same plot , manually I could do a line of a code for each value of X using squeeze function, but since size(X)=365 it will not look very good )). is there any way to do it more wisely?
thanks
  댓글 수: 5
Walter Roberson
Walter Roberson 2019년 8월 17일
Introduced in R2017a.
Look in the File Exchange for "vol3d v2"
Or perhaps you should just use slice https://www.mathworks.com/help/matlab/ref/slice.html
Asliddin Komilov
Asliddin Komilov 2019년 8월 18일
vol3d did the job, put your answer to 'answer' so I can accept it. thanks

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

채택된 답변

Walter Roberson
Walter Roberson 2019년 8월 18일
Look in the File Exchange for "vol3d v2"
Or perhaps you should just use slice https://www.mathworks.com/help/matlab/ref/slice.html

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by