Graphics: NCL – Example

olr.ncl

Example script illustrating how to overlay and zoom.

In this script note:

    1. Switch footers and initial time off for this plot;
    2. The use of gsn_define_colormap to overwrite the colormap set in .hluresfile;
    3. To overlay a box, set FramePlot to .False. when using the function wrf_map_overlays.
      Then plot the box with the gsn_polyline function, before advancing the frame manually (frame(wks)).
    4. This script also shows how to convert lat/long values to i/j positions (wrf_user_ll_to_ij),
      and using this information to zoom in (ZoomIn ; Xstart ; Ystart ; Xend ; Yend)