lplot#
- Mapdl.lplot(nl1='', nl2='', ninc='', *, graphics_backend=None, show_line_numbering=True, show_keypoint_numbering=False, color_lines=False, **kwargs)#
Display the selected lines.
APDL Command: LPLOT
注釈
PyMAPDL plotting commands with
graphics_backend=GraphicsBackend.PYVISTA
ignore any values set with thePNUM
command.- パラメーター:
- nl1, nl2, ninc
Display lines from NL1 to NL2 (defaults to NL1) in steps of NINC (defaults to 1). If NL1 = ALL (default), NL2 and NINC are ignored and display all selected lines [LSEL].
- graphics_backend
GraphicsBackend
,optional
Plot the currently selected lines using
ansys-tools-visualization_interface
.- show_line_numberingbool,
optional
Display line and keypoint numbers when
graphics_backend=GraphicsBackend.PYVISTA
.- show_keypoint_numberingbool,
optional
Number keypoints. Only valid when
show_keypoints=True
- color_linesbool,
optional
Color each line with a different color.
- **kwargs
See
ansys.mapdl.core.plotting.visualizer.MapdlPlotter
for more keyword arguments applicable when visualizing withgraphics_backend=GraphicsBackend.PYVISTA
.
Notes
Mesh divisions on plotted lines are controlled by the
ldiv
option of thepsymb
command whengraphics_backend=GraphicsBackend.MAPDL
. Otherwise, line divisions are controlled automatically.This command is valid in any processor.
Examples
>>> mapdl.lplot(graphics_backend=GraphicsBackend.PYVISTA, cpos='xy', line_width=10)