how to plot slice graph from several png files

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 Comments

Difficult to help unless you provide more information. For example, upload example images and describe your desired output in better detail.

Sign in to comment.

Answers (1)

KSSV
KSSV on 9 Jul 2018
Edited: KSSV on 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 Comment

Thank you I already have 25 png files as outputs of another simulation, I have to use those files and align them.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 8 Jul 2018

Community Treasure Hunt

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

Start Hunting!