Changeset 4856 for anuga_core/source
- Timestamp:
- Nov 27, 2007, 4:18:39 PM (17 years ago)
- Location:
- anuga_core/source/anuga
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/test_neighbour_mesh.py
r4851 r4856 973 973 974 974 975 from anuga.utilities.polygon import plot_polygons _points975 from anuga.utilities.polygon import plot_polygons 976 976 977 977 # First do the continuous version of mesh -
anuga_core/source/anuga/fit_interpolate/interpolate.py
r4853 r4856 558 558 559 559 if verbose is True: 560 from anuga.utilities.polygon import plot_polygons _points560 from anuga.utilities.polygon import plot_polygons 561 561 #out_interp_pts = take(interpolation_points,[indices]) 562 562 title = 'Interpolation points fall outside specified mesh' 563 plot_polygons _points([mesh_boundary_polygon,interpolation_points,out_interp_pts],563 plot_polygons([mesh_boundary_polygon,interpolation_points,out_interp_pts], 564 564 ['line','point','outside'],figname='points_boundary_out',label=title,verbose=verbose) 565 565 … … 574 574 # Plot boundary and interpolation points 575 575 if verbose is True: 576 from anuga.utilities.polygon import plot_polygons _points576 from anuga.utilities.polygon import plot_polygons 577 577 title = 'Interpolation function: Polygon and interpolation points' 578 plot_polygons _points([mesh_boundary_polygon,interpolation_points],578 plot_polygons([mesh_boundary_polygon,interpolation_points], 579 579 ['line','point'],figname='points_boundary',label=title,verbose=verbose) 580 580 -
anuga_core/source/anuga/utilities/polygon.py
r4852 r4856 341 341 return abs(poly_area/2) 342 342 343 def plot_polygons _points(polygons_points, style=None,343 def plot_polygons(polygons_points, style=None, 344 344 figname=None, label=None, verbose=False): 345 345
Note: See TracChangeset
for help on using the changeset viewer.