X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Apr 2015 11:41 AM by  Zachary Norman
MAP function not filling the water and land correctly
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Zachary Norman



Basic Member


Posts:173
Basic Member


--
03 Apr 2015 11:41 AM
    Hello, When I was experimenting with the MAP function, I noticed that sometimes the land and water get switched when using the hi-res keyword. Is there a way to fix this issue? Thanks

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    03 Apr 2015 11:49 AM
    This bit of code illustrates how to fix it using the center_longitude=0 phrase pro awesome_maps compile_opt idl2 map1 = MAP('Geographic', $ LIMIT=[35.50, -6.2 , 36.2 , -4.8], $ FILL_COLOR='light_blue', $ WINDOW_TITLE='High Res', layout = [1,2,1],$ title = 'Incorrect Hi-Res Map') grid1 = map1.MAPGRID grid1.LINESTYLE = 'dotted' grid1.LABEL_SHOW = 0 m1 = MAPCONTINENTS(FILL_COLOR='beige', /hires) ;wait, 3 map2 = MAP('Geographic', $ LIMIT=[35.50, -6.2 , 36.2 , -4.8], $ FILL_COLOR='light_blue', $ WINDOW_TITLE='High Res',center_longitude=0, $ layout = [1,2,2], /current, $ title = 'Correct Hi-Res map') grid2 = map2.MAPGRID grid2.LINESTYLE = 'dotted' grid2.LABEL_SHOW = 0 m2 = MAPCONTINENTS(FILL_COLOR='green', /hires) end
    You are not authorized to post a reply.