MATLAB Answers

How to plot a magnitudes of a value in a vector against latitude and longitude?

2 views (last 30 days)
rockthekasbah on 14 Sep 2017
Commented: KSSV on 14 Sep 2017
I have a list of velocities collected along a ship track. I would like to plot the magnitudes of the velocities against the latitude and longitude coordinates of the point at which the data was collected? Any ideas on how to plot this? Something like pcolor wouldn't work because the velocities data is only a vector. Thank you.

Answers (1)

KSSV on 14 Sep 2017
Edited: KSSV on 14 Sep 2017
It depends on the data you may interpolate your data using scatteredinterpolant or griddata into a grid and then use pcolor or surf . Read about griddata and scatteredinterpolant.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!