using worldmap in 0 to 360 longitude
Mostrar comentarios más antiguos
I am trying to plot rainfall data as a contour plot over a worldmap. The problem is that the data is in 0 360 longitude and the world map comes out half blank because that is in the 180 -180 longitude system. Changing my longitude to this system using longi=mod((longi+180),360)-180; is not working as the contours stretch out from the leftmost end to the rightmost end across the map. To avoid this I will need to rearrange the data in the matrices which is resource intensive. Is there a way I can simply plot the world map into the 360 degree system. I am using R2008b and the worldmap function is geoshow('landareas.shp', 'FaceColor', 'None')
Thanks PK
Respuesta aceptada
Más respuestas (1)
Rob Comer
el 16 de Jun. de 2011
Another approach is to follow
worldmap world
with
setm(gca,'Origin',[0 180])
in order to preserve the other worldmap settings.
Categorías
Más información sobre Create Plots on Maps en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!