How can i have a color bar depending on vector intensity using m_quiver

Hi,
I need your help.
Following, my code to plot deep current field.
figure m_proj('transverse mercator', 'longitudes',[min_lon max_lon], 'latitudes' ,[min_lat max_lat]) m_gshhs_l('patch',[0.7 0.7 0.7],'edgecolor','k'); m_grid; m_tbase('contour',[-3500:1000:-500],'Edgecolor','k') hold on m_plot(lon_deep,lat_deep,'+','Color',[0.7 0.7 0.7]) m_quiver(LON,LAT,u_bin',v_bin',4,'b','LineWidth',1.5)
I would like a field of different color arrows depending on vector intensity.
Thanks

Réponses (2)

Léo
Léo le 14 Fév 2013
Thanks but quiverc doesn't work with m_map. How can i have a projection and a coast?
http://www.mathworks.com/matlabcentral/fileexchange/3225-quiverc

1 commentaire

Thanks but quiverc doesn't work with m_map. How can i have a projection and a coast?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Color and Styling dans Centre d'aide et File Exchange

Question posée :

le 14 Fév 2013

Community Treasure Hunt

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

Start Hunting!

Translated by