rcatool.utils.polygons.plot_polygon
- rcatool.utils.polygons.plot_polygon(polygon, savefig=False, figpath=None)[source]
Plot polygon on map.
- Parameters:
polygon (string or list) – Name of polygon as defined by poly_dict dictionary in ‘polygons’ function, or list with polygon coordinates [[lon1, lat1], [lon2, lat2], …, [lon1, lat1]].
savefig (boolean) – If True, figure is saved to ‘figpath’ location (‘figpath’ must be set). If false, figure is displayed on screen.
figpath (string) – Path to folder for saved polygon figure.