This is an example of a Metview 1 macro and its equivalent in Metview 4.
Original code:
cont = pcont( contour_lo_colour : "blue" )
coast = pcoast( map_coastline_colour : "background" )
win = plotwindow
(
row : 1, column : 1,
width : 1000,
height : 888,
pane_organization : "independent",
subpage_map_projection : "polar_stereographic",
subpage_map_hemisphere : "north",
subpage_map_vertical_longitude : vert_long,
area : [la1,lo1,la2,lo2
],
background : coast
)
Translated code:
cont = mcont( contour_hilo : "on",
contour_lo_colour : "blue" )
coast = mcoast( map_coastline_colour : "black" )
polar_view = geoview
(
map_projection : "polar_stereographic", map_hemisphere : "north",
map_vertical_longitude : vert_long,
map_area_definition : "corners",
area :
[la1,lo1,la2,lo2],
coastlines : coast
)
page = plot_page( view : polar_view )
win = plot_superpage( pages : [ page ] )