M_map should not be that hard

5 vues (au cours des 30 derniers jours)
Pepe
Pepe le 12 Mar 2019
Modifié(e) : Pepe le 12 Mar 2019
Hi everyone!
So I saw this picture on m_map users guide and it is very simillar to something i want to create but there is no code for this picture.
Can you help me figure out how the code shoud look like for this picture?
I draw a worldmap with:
f=figure;
m_proj('miller','lat',[-77 77]);
m_coast('patch',[0.7 1 0.8],'edgecolor','k');
m_grid('backcolor',[0.2 0.65 1])
and now I want to draw this markers and to see them in legend. If I use just m_line for example:
m_line(longitude,latitude,'LineStyle','none','marker','o','markersize',5,'MarkerEdgeColor','none','MarkerFaceColor',[1 0 0]);
I would get markers but they won't be seen in legend because still just the data of land and ocean is seen in the legend. Maybe I sholud not use m_line but something else.
I would appreciate your help :) Thanks in advance.

Réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by