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일

0 개 추천

A=rand(296,301,648); %Example
time=1:648;
y=squeeze(A(250,250,:))
plot(time,y)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

질문:

2015년 7월 31일

댓글:

2015년 7월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by