autopdex.plotter.pv_plot
- autopdex.plotter.pv_plot(x_vis, data, export_vtk=False, show=True, groupname='group', filename='frame', fieldname='data', scale_range=1.0, data_on_z=True)[source]
Plots and optionally exports 3D data using PyVista.
- Parameters:
x_vis (-) – Array of coordinates for visualization points.
data (-) – Data to be visualized at the points.
export_vtk (-) – Whether to export the plot to a VTK file. Default is False.
show (-) – Whether to show the plot. Default is True.
groupname (-) – Name of the group folder for VTK export. Default is ‘group’.
filename (-) – Name of the file for VTK export. Default is ‘frame’.
fieldname (-) – Name of the data field in the VTK file. Default is ‘data’.
scale_range (-) – Scale range for data visualization. Default is 1.0.
data_on_z (-) – Whether to plot data on the z-axis. Default is True.
Notes
Only supports 2d and 3d