Changeset 2904


Ignore:
Timestamp:
May 18, 2006, 11:00:17 AM (18 years ago)
Author:
sexton
Message:

add plot of polygons to script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • production/pt_hedland_2006/run_pt_hedland.py

    r2903 r2904  
    127127
    128128from utilities.polygon import inside_polygon
     129from pyvolution.util import plot_polygons
    129130
    130131bounding_polygon = project.polyAll
     
    138139        count += 1
    139140
     141plot_polygons(project.polyAll,
     142              [project.poly_pt_hedland, project.poly_region],
     143              verbose = True)
     144
    140145if count == 0:
    141146    print 'interior regions OK'
    142147else:
    143148    print 'check out your interior polygons'
     149    print 'check polygon_plot.png in production directory'
    144150    import sys; sys.exit()
    145151   
Note: See TracChangeset for help on using the changeset viewer.