add_field_from_data#
- ModelPlotter.add_field_from_data(coordinates, fields_data, log_scale=True, coordinate_units='meter', opacity=1, color_map='jet', label_name='Field', surface_mapping_tolerance=0.001, show_edges=True)#
Add field data to the scenario.
- Parameters:
- coordinates
list
of
list
List of list [x,y,z] coordinates.
- fields_data
list
List of list Fields Value.
- log_scalebool
Either if the field has to be plotted log or not.
- coordinate_units
str
Fields coordinates units.
- opacity
float
Value between 0 to 1 of opacity.
- color_map
str
Color map of field plot. Default rainbow.
- label_name
str
,optional
Name of the field.
- surface_mapping_tolerance
float
,optional
Delauny tolerance value used for interpolating points.
- coordinates
- Returns: