Hi. I have multiple 2D contour plots and i want to stack them as slice views in 3D. I want to stack fig 1 at specific line for example at X=0, the next fig 2 at position X= 0.25. Can someone tell me how can i do that. Kind regards

댓글 수: 2

KSSV
KSSV 2021년 6월 7일
REad about slice.
How can i stack figures as slices. I tried but was not able to do it

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

답변 (1개)

KSSV
KSSV 2021년 6월 7일
[X,Y,C] = peaks(100) ;
figure
hold on
for i = 1:10
Z = i*ones(size(X)) ;
Ci = rand*C ;
surf(X,Y,Z,C)
end
view(3)

댓글 수: 3

How do i stack my images that i already have.
KSSV
KSSV 2021년 6월 9일
You said already you have the data right? In the surf function use your data. Extend the given demo code to your case.
I have got multiple images only. I

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

카테고리

도움말 센터File Exchange에서 Contour Plots에 대해 자세히 알아보기

질문:

2021년 6월 7일

댓글:

2021년 6월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by