MATLAB Answers

0

how to amke 2D map in matlab

Asked by 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

  0 Comments

Sign in to comment.

3 Answers

Answer by 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

  0 Comments

Sign in to comment.


Answer by 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.

  0 Comments

Sign in to comment.


Answer by 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

  0 Comments

Sign in to comment.