Changeset 8819 for trunk/anuga_core/source/anuga/geometry
- Timestamp:
- Apr 6, 2013, 7:13:07 PM (12 years ago)
- Location:
- trunk/anuga_core/source/anuga/geometry
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/geometry
-
Property
svn:ignore
set to
.python_cache
-
Property
svn:ignore
set to
-
trunk/anuga_core/source/anuga/geometry/polygon.py
r8361 r8819 723 723 """ 724 724 725 from pylab import ion, hold, plot, savefig, xlabel, \725 from pylab import ion, ioff, hold, plot, savefig, xlabel, \ 726 726 ylabel, title, close, title, fill 727 727 … … 777 777 savefig('test_image') 778 778 779 ioff() 780 hold(False) 779 781 close('all') 780 782 -
trunk/anuga_core/source/anuga/geometry/test_polygon.py
r8341 r8819 1781 1781 plot_polygons([polygon1, polygon2], figname='test1') 1782 1782 1783 import pylab 1784 pylab.close('all') 1785 1783 1786 # Another case 1784 1787 polygon3 = [[1,5], [10,1], [100,10], [50,10], [3,6]] 1785 1788 plot_polygons([polygon2, polygon3], figname='test2') 1789 1790 pylab.close('all') 1786 1791 1787 1792 for file in ['test1.png', 'test2.png']:
Note: See TracChangeset
for help on using the changeset viewer.