How to plot from a 1x64 struct of 3 fields

1 view (last 30 days)
HAllo all,
Please i need help with making a plot. I have a 1x64 strcut of 3 fields. the first field consist of a tabel with dimension 15000x5.
I would like to rund a for loop and do a plot for each table the second and third column against the second field which is x_position .
Please also consider the attachment for clarification
i shall be most grateful for any help .
thnaks in davance
  2 Comments
Walter Roberson
Walter Roberson on 7 Mar 2019
Edited: Walter Roberson on 8 Mar 2019
However, for any given All_nonaveragetable(K) the .table field is a table with 15000 rows, but x_position is a scalar. Do you want to do a 3D plot in which x_position is the x coordinate, All_nonaveragetable(K).table{:,2} is the y coordinate, and All_nonaveragetable(K).table{:,3} is the z coordinate ?
Yannick Tabot Njami
Yannick Tabot Njami on 8 Mar 2019
@Water Roberson.
many thanks that was the syntax i was looking fór. for each fle and respective table to refer to a column
thanks again

Sign in to comment.

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!