problem plotting frames in a loop

From: Ivan Lima <ivan_at_nyahnyahspammersnyahnyah>
Date: Wed, 20 Oct 2004 12:19:16 -0400

  Hello,

  I am trying to plot several (264) frames for an animation using a
  'for' loop. It works fine until frame 46 then it aborts and dumps
  core. I know there are limits in the number of plots per
  workstation, but I create and 'destroy' the workspation for each
  frame:

  for t in N.arange(chl.shape[0]):
     ...
     wks = Ngl.ngl_open_wks('eps',outfile,wres)
     map = Ngl.ngl_contour_map(wks,work,mres)
     ...
     Ngl.ngl_set_values(map,rlist)
     Ngl.ngl_draw(map)
     Ngl.ngl_frame(wks)
     del work, map
     Ngl.ngl_destroy(wks)

  Has anyone encoutered this problem before? Am I missing something?
  
  Thanks,

  - 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
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Wed Oct 20 2004 - 10:19:31 MDT

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:30:16 MST