iwfm.plot.map_to_nodes_png

iwfm.plot.map_to_nodes_png(dataset, image_name, scaling_factor=0.01, point_type='circle', point_width=100, 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 tuples) – A list containing tuples of three values (x, y, value), representing the x and y coordinates of each data point along with their corresponding values.

  • image_name (str) – The desired name of the image file to be saved.

  • scaling_factor (float, default = 0.01) – The scaling factor to be applied to the x and y coordinates. The default is 0.01. This determines the size of the image. The value can be adjusted based on the data range to produce a more useful image.

  • point_type (str, default = 'circle') – The type of shape to be drawn around each data point. The other option is ‘polygon’.

  • point_width (int, default = 100) – The width of the polygon or diameter of the circle to be drawn around each data point.

  • verbose (bool, default = False) – If True, print status messages.

Return type:

nothing