Line chart from 3D data at a fixed point

1 回表示 (過去 30 日間)
Tadgh Cullen
Tadgh Cullen 2015 年 7 月 31 日
コメント済み: Tadgh Cullen 2015 年 7 月 31 日
I'm sure this is a very simple question but I have created a 3D array. VorticityMap is 296*301*648 array where 648 is the number of time steps and where there is a vorticity value at every i and j value.
I basically want to plot all the vorticity values at the point 250,250 for each time step to get a line chart. Could someone please explain how i would do this? So basically a vorticity v time chart at a given point.
Thank you

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 7 月 31 日
編集済み: Azzi Abdelmalek 2015 年 7 月 31 日
A=rand(296,301,648); %Example
time=1:648;
y=squeeze(A(250,250,:))
plot(time,y)
  1 件のコメント
Tadgh Cullen
Tadgh Cullen 2015 年 7 月 31 日
Thank you

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-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