how to plot slice graph from several png files

조회 수: 6 (최근 30일)
Samaneh Arzpeima
Samaneh Arzpeima 2018년 7월 8일
댓글: Samaneh Arzpeima 2018년 7월 9일
Hello Everybody I have several png files that show displacement varying with time, for a nice visualization I thought that making a slice graph could be a nice idea, I didn't find any example helping me, I would appreciate any help.Thank you
  댓글 수: 3

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

답변 (1개)

KSSV
KSSV 2018년 7월 9일
편집: KSSV 2018년 7월 9일
[X,Y,C] = peaks(100) ;
N = 10 ;
Z = ones(size(X)) ;
figure
hold on
for i = 1:N
surf(Z+i,X,Y,C)
end
Rotate for better view.
  댓글 수: 1
Samaneh Arzpeima
Samaneh Arzpeima 2018년 7월 9일
Thank you I already have 25 png files as outputs of another simulation, I have to use those files and align them.

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

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by