How to get Map Frame on the Top of other drawn objects
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am using the mapping toolbox to draw a number of patchm objects. Unfortunately , there are a number of places where the edges of the patch cross the map frame that is drawn around the map boundary. Is there a way to make the map frame on top? I have tried the following with no luck:
-----BEGIN CODE BLOCK-----
latlim = [32 33];
lonlim = [-118 -117];
map = usamap(latlim, lonlim);
setm(map, 'MapProjection', 'Mercator');
setm(map, 'Grid', 'off');
setm(map, 'FLineWidth', 5);
plotm([1 1]*mean(latlim), lonlim + [0.001 0], '-r', 'LineWidth', 5);
uistack(handlem('Frame'), 'top');
-----END CODE BLOCK-----
In the example here I have inflated the width of the lines to highlight the effect. Thanks for any help.
Justace
4 commentaires
Rob Comer
le 17 Juil 2013
Oops, I typed my answer into the comment field -- that's why you couldn't just mark it answered.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Whos dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!