/[escript]/trunk/doc/examples/cookbook/example01c.py
ViewVC logotype

Diff of /trunk/doc/examples/cookbook/example01c.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/doc/examples/cookbook/onedheatdiff001b.py revision 2947 by gross, Tue Feb 2 04:21:52 2010 UTC trunk/doc/examples/cookbook/example01c.py revision 2949 by gross, Thu Feb 25 05:23:11 2010 UTC
# Line 65  h=(tend-t)/outputs #size of time step Line 65  h=(tend-t)/outputs #size of time step
65  print "Expected Number of time outputs is: ", (tend-t)/h  print "Expected Number of time outputs is: ", (tend-t)/h
66  i=0 #loop counter  i=0 #loop counter
67  #the folder to put our outputs in, leave blank "" for script path  #the folder to put our outputs in, leave blank "" for script path
68  save_path= os.path.join("data","onedheatdiff001")  save_path= os.path.join("data","example01")
69  #ensure the dir exists  #ensure the dir exists
70  mkDir(save_path, os.path.join(save_path,"tempT"))  mkDir(save_path, os.path.join(save_path,"tempT"))
71    
# Line 125  pl.clf() Line 125  pl.clf()
125    
126  #os.system("mencoder mf://"+save_path+"/tempT"+"/*.png -mf type=png:\  #os.system("mencoder mf://"+save_path+"/tempT"+"/*.png -mf type=png:\
127  #w=800:h=600:fps=25 -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o \  #w=800:h=600:fps=25 -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o \
128  #onedheatdiff001tempT.avi")  #example01tempT.avi")

Legend:
Removed from v.2947  
changed lines
  Added in v.2949

  ViewVC Help
Powered by ViewVC 1.1.26