Filter löschen
Filter löschen

How to plot from a 1x64 struct of 3 fields

1 Ansicht (letzte 30 Tage)
Yannick Tabot Njami
Yannick Tabot Njami am 7 Mär. 2019
Bearbeitet: Walter Roberson am 8 Mär. 2019
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 Kommentare
Walter Roberson
Walter Roberson am 7 Mär. 2019
Bearbeitet: Walter Roberson am 8 Mär. 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 am 8 Mär. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Geographic Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by