weldx.geometry.Geometry.plot¶
-
Geometry.
plot
(profile_raster_width, trace_raster_width, axes=None, color=None, label=None, show_wireframe=True)¶ Plot the geometry.
- Parameters
profile_raster_width (pint.Quantity) – Target distance between the individual points of a profile
trace_raster_width (pint.Quantity) – Target distance between the individual profiles on the trace
axes (matplotlib.axes.Axes) – The target
matplotlib.axes.Axes
object of the plot. If ‘None’ is passed, a new figure will be createdcolor (Union[int, Tuple[int, int, int], Tuple[float, float, float]]) – A 24 bit integer, a triplet of integers with a value range of 0-255 or a triplet of floats with a value range of 0.0-1.0 that represent an RGB color
label (str) – Label of the plotted geometry
show_wireframe (bool) – If
True
, the mesh is plotted as wireframe. Otherwise only the raster points are visualized. Currently, the wireframe can’t be visualized if aVariableProfile
is used.
- Returns
The utilized matplotlib axes, if matplotlib was used as rendering backend
- Return type