how to plot slice graph from several png files

4 ビュー (過去 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 件のコメント
Samaneh Arzpeima
Samaneh Arzpeima 2018 年 7 月 9 日
Samaneh Arzpeima
Samaneh Arzpeima 2018 年 7 月 9 日

サインインしてコメントする。

回答 (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 Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by