/[ascend]/trunk/pygtk/plot.i
ViewVC logotype

Diff of /trunk/pygtk/plot.i

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

revision 234 by johnpye, Sun Jan 29 17:15:47 2006 UTC revision 242 by johnpye, Mon Jan 30 15:02:26 2006 UTC
# Line 26  public: Line 26  public:
26      %pythoncode{      %pythoncode{
27          def show(self,mainloop=True):          def show(self,mainloop=True):
28              import pylab              import pylab
29                pylab.ioff()
30              pylab.figure()              pylab.figure()
31              pylab.title(self.getTitle())              pylab.title(self.getTitle())
32              print "XLabel:",self.getXLabel()              print "XLabel:",self.getXLabel()
# Line 46  public: Line 47  public:
47              pylab.legend(_l)              pylab.legend(_l)
48    
49              print "Mainloop:",mainloop              print "Mainloop:",mainloop
             pylab.show(mainloop)  
50              pylab.ion()              pylab.ion()
51                pylab.show(mainloop)
52                            
53              # /*              # /*
54              # if self.getXLow() and self.getXHigh():              # if self.getXLow() and self.getXHigh():

Legend:
Removed from v.234  
changed lines
  Added in v.242

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22