autopdex.plotter.pv_function_plot
- autopdex.plotter.pv_function_plot(x_vis, fun, scale_range=1.0, data_on_z=True, isosurf=False, n_surfaces=20)[source]
Convenience function for visualizing/debugging smooth distance functions.
- Parameters:
x_vis (-) – Array containing the coordinates of nodes for visualization.
fun (-) – Function to be visualized depending on x.
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.
isosurf (-) – Whether to plot isosurfaces for structured 3D grids. Default is False.
n_surfaces (-) – Number of isosurfaces to plot. Default is 20.