how to amke 2D map in matlab

4 views (last 30 days)
joo tan
joo tan on 2 Aug 2011
hai there,
i have ocean current data ,longitude,latitude and velocity..i need to generated 2d map to represent the velocity by color..so what the best function to create?? using surf or colormap? or anything else

Answers (3)

Sean de Wolski
Sean de Wolski on 2 Aug 2011
Do you have components of velocity or just magnitudes?
Here are a few tools you may be looking for:
doc quiver
doc scatter

Walter Roberson
Walter Roberson on 2 Aug 2011
Are you using the mapping toolbox? Getting the map shape right taking in to account spherical geometry is best left to the mapping toolbox.

joo tan
joo tan on 3 Aug 2011
Sean De
i have lat,longitude, u,v, speed and direction..i already plotting the direction using quiver function..but i want to represent the velocity using color to show the magnitude value

Categories

Find more on Oceanography and Hydrology 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!