iwfm.plot.map_to_nodes¶
- iwfm.plot.map_to_nodes(dataset, bounding_poly, image_name, cmap='rainbow', marker_size=10, title='Parameter values', label='Z values', units='', format='tiff', verbose=False)[source]¶
Create a colored image map representing nodal values such as groundwater data.
NOTE: add title, legend, etc. to plot
- 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
marker_size (int, default = 10) – Marker size for the scatter plot.
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.
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