4D Array plot data between two gps points

1 view (last 30 days)
Pepe Grillo
Pepe Grillo on 24 Mar 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!

Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!