Filter löschen
Filter löschen

4D Array plot data between two gps points

1 Ansicht (letzte 30 Tage)
Pepe Grillo
Pepe Grillo am 24 Mär. 2021
Hi!
I have a 4D array
u1=rand(241,97,1,1637), that is (lon,lat,depth,time)
If I select a lon, lets say lon = 50 then I plot ud = squeeze(u1(50,:,:,:)), that makes an extraction of data at 50 of lon,
but what I want is to make this plot between lon = 10 and lon = 70, like a diagonal and not a line folowing one lon.
Any idea?
Thanks!

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by