how to plot slice graph from several png files

4 Ansichten (letzte 30 Tage)
Samaneh Arzpeima
Samaneh Arzpeima am 8 Jul. 2018
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 Kommentare

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 9 Jul. 2018
Bearbeitet: KSSV am 9 Jul. 2018
[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 Kommentar
Samaneh Arzpeima
Samaneh Arzpeima am 9 Jul. 2018
Thank you I already have 25 png files as outputs of another simulation, I have to use those files and align them.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by