Changeset 4856 for anuga_core/source


Ignore:
Timestamp:
Nov 27, 2007, 4:18:39 PM (17 years ago)
Author:
sexton
Message:

rename plot_polygons_points to original name of plot_polygons

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  
    973973
    974974
    975         from anuga.utilities.polygon import plot_polygons_points
     975        from anuga.utilities.polygon import plot_polygons
    976976
    977977        # First do the continuous version of mesh
  • anuga_core/source/anuga/fit_interpolate/interpolate.py

    r4853 r4856  
    558558
    559559                if verbose is True:
    560                     from anuga.utilities.polygon import plot_polygons_points
     560                    from anuga.utilities.polygon import plot_polygons
    561561                    #out_interp_pts = take(interpolation_points,[indices])
    562562                    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],
    564564                                         ['line','point','outside'],figname='points_boundary_out',label=title,verbose=verbose)
    565565
     
    574574            # Plot boundary and interpolation points
    575575            if verbose is True:
    576                 from anuga.utilities.polygon import plot_polygons_points
     576                from anuga.utilities.polygon import plot_polygons
    577577                title = 'Interpolation function: Polygon and interpolation points'
    578                 plot_polygons_points([mesh_boundary_polygon,interpolation_points],
     578                plot_polygons([mesh_boundary_polygon,interpolation_points],
    579579                                     ['line','point'],figname='points_boundary',label=title,verbose=verbose)
    580580
  • anuga_core/source/anuga/utilities/polygon.py

    r4852 r4856  
    341341    return abs(poly_area/2)
    342342
    343 def plot_polygons_points(polygons_points, style=None,
     343def plot_polygons(polygons_points, style=None,
    344344                         figname=None, label=None, verbose=False):
    345345   
Note: See TracChangeset for help on using the changeset viewer.