iwfm.plot.map_to_nodes_contour¶
- iwfm.plot.map_to_nodes_contour(dataset, bounding_poly, image_name, cmap='rainbow', title='Parameter values', label='Z values', units='', no_levels=20, contour='line', format='tiff', verbose=False)[source]¶
Create a contour map representing nodal values such as groundwater data.
- Parameters:
dataset (list of lists [[x, y, value], [x, y, value], ...) – A list containing lists of three values (x, y, value), representing the x and y coordinates of each data point along with their corresponding values.
bounding_poly (shapely Polygon) – Model boundary polygon
image_name (str) – The desired name of the image file to be saved.
cmap (str, default = 'rainbow') – The colormap to be used for the scatter plot. See https://matplotlib.org/stable/tutorials/colors/colormaps.html
title (str, default = "Parameter values") – Title for the plot.
label (str, default = 'Z values') – Label for the colorbar.
units (str, default = '') – Units for the colorbar.
no_levels (int, default = 20) – Number of contour levels.
contour (str, default = 'line') – Type of contour to be plotted. Options are ‘line’ or ‘filled’.
format (str, default = 'tiff') – output file format: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff, webp
verbose (bool, default = False) – If True, print status messages.
- Return type:
nothing