Ngl.overlay and Ngl.panel

From: Ivan Lima <ivan_at_nyahnyahspammersnyahnyah>
Date: Tue, 12 Dec 2006 15:49:32 -0500


  I'm trying to create a panel plot containing overlays of filled
  contours and contour lines on a global map. The individual
  maps have the same contour levels so I turn off the labelbar
  for each map and include a single label bar for the panel plot

    pnres.nglPanelLabelBar = True

  I can create the individual overlay maps without problems with:

    map =,mres)
    cfill = Ngl.contour(wks,workv,cfres)
    cline = Ngl.contour(wks,rmsv,clres)

  But when I try to create the panel plot with:

    fig = Ngl.panel(wks,maplist,[2,2],pnres)

  I get:

    "warning:panel: unrecognized plot type for getting labelbar
    information. Ignoring labelbar request."

  And no labelbar is created for the panel plot. Am I doing
  something wrong? Is there a better way to do this?


  - Ivan

Ivan Lima
Woods Hole Oceanographic Institution, MC&G MS #25
360 Woods Hole Road, Woods Hole, MA 02543-1543 USA
pyngl-talk mailing list
Received on Tue Dec 12 2006 - 13:49:32 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 19 2006 - 07:55:51 MST