how to plot slice graph from several png files

5 次查看(过去 30 天)
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 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by