XY plot#

class ansys.fluent.visualization.matplotlib.matplot_objects.XYPlot(name, parent, api_helper)#

Provides for displaying XY plots.

Parameters:
name
parent
api_helper
.. code-block:: python

from ansys.fluent.visualization.matplotlib import Plots

matplotlib_plots = Plots(session) plot1 = matplotlib_plots.XYPlots[“plot-1”] plot1.surfaces_list = [‘symmetry’, ‘wall’] plot1.y_axis_function = “temperature” plot1.plot(“window-0”)

Attributes

Member

Summary

boundary_values

Plot Boundary values.

direction_vector

Direction Vector.

node_values

Plot nodal values.

surfaces_list

List of surfaces for plotting.

surfaces_list.allowed_values

surfaces_list allowed values.

x_axis_function

X Axis Function.

x_axis_function.allowed_values

x_axis_function allowed values.

y_axis_function

Y Axis Function.

y_axis_function.allowed_values

y_axis_function allowed values.

Commands

Command

Summary

get_ancestors_by_name

get_ancestors_by_type

get_path

get_root

get_session

get_session_handle

plot

Draw plot.