/[ascend]/trunk/models/johnpye/fourbarplot.py
ViewVC logotype

Diff of /trunk/models/johnpye/fourbarplot.py

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

revision 1463 by jpye, Sat May 26 01:53:11 2007 UTC revision 1464 by jpye, Sun Jun 3 04:09:36 2007 UTC
# Line 1  Line 1 
1  import extpy;  import extpy
2    
3  try:  try:
4      from pylab import *      from pylab import *
# Line 11  def fourbarplot(self): Line 11  def fourbarplot(self):
11      """Plot the geometry of the four-bar linkage"""      """Plot the geometry of the four-bar linkage"""
12      # following is an unfortunate necessity in the current system architecture:      # following is an unfortunate necessity in the current system architecture:
13    
14        import loading
15        loading.load_matplotlib(throw=True)
16    
17      browser = extpy.getbrowser()      browser = extpy.getbrowser()
18      browser.do_solve()      browser.do_solve()  
19    
20      ioff()      ioff()
21      figure()      figure()

Legend:
Removed from v.1463  
changed lines
  Added in v.1464

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