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

Diff of /trunk/ascxx/plot.i

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

revision 3105 by jpye, Wed Dec 22 07:17:24 2010 UTC revision 3106 by jpye, Wed Jun 1 03:27:36 2016 UTC
# Line 7  SWIG interface for plotting from ASCEND Line 7  SWIG interface for plotting from ASCEND
7  %include "plot.h"  %include "plot.h"
8    
9  %extend Plot{  %extend Plot{
10      %pythoncode{      %pythoncode %{
11          def show(self,mainloop=True):          def show(self,mainloop=True):
12              import loading              import loading
13              loading.load_matplotlib(throw=True)              loading.load_matplotlib(throw=True)
# Line 55  SWIG interface for plotting from ASCEND Line 55  SWIG interface for plotting from ASCEND
55              # if self.getXLow() and self.getXHigh():              # if self.getXLow() and self.getXHigh():
56              #   matplotlib.gca().set_xlim([self.getXLow(), self.getXHigh()])              #   matplotlib.gca().set_xlim([self.getXLow(), self.getXHigh()])
57              # */              # */
58      }      %}
59  }  }
60    

Legend:
Removed from v.3105  
changed lines
  Added in v.3106

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