Mapdl.plf2d(ncont='', olay='', anum='', win='', **kwargs)

Generates a contour line plot of equipotentials.

APDL Command: PLF2D


Number of contour lines to display. Issue in multiples of 9 (i.e., 9, 18, 27, etc.). Default is 27 contour lines.



0 - Overlay edge outlines by material number.

1 - Overlay edge outlines by real constant number.


Highest material or real constant attribute number. Command will cycle through ANUM element display overlays. Defaults to 10.


Window number to which command applies. Defaults to 1.


PLF2D invokes an ANSYS macro which plots equipotentials of the degree of freedom AZ. These equipotential lines are parallel to flux lines and thus give a good representation of flux patterns. In the axisymmetric case, the display is actually r*AZ where “r” is the node radius. The macro overlays (OLAY) edge outlines by material number or real constant number (ANUM) and allows user control over the number of contour lines to display (NCONT).

Distributed ANSYS Restriction: This command is not supported in Distributed ANSYS.