Skip to Main Content Skip to Search
Product Documentation

LinesVisible, ULinesVisible, VLinesVisible, XLinesVisible, YLinesVisiblevisibility of lines

LinesVisible = TRUE versus LinesVisible = FALSE governs the visibility of line objects.

ULinesVisible, VLinesVisible governs the visibility of coordinate lines on parametrized surfaces in 3D.

XLinesVisible, YLinesVisible governs the visibility of coordinate lines on 3D function graphs and matrix plots.

→ Examples

Attribute

Type

Value

See Also:

AxesVisible, GridVisible, LineColor, LineColorType, LineStyle, LineWidth

Details:

Example 1

By default, the lines of a box are visible:

plot(plot::Box(1..4, 2..5, 3..6), Axes = None)

MuPAD graphics

We set LinesVisible = FALSE to switch them off:

plot(plot::Box(1..4, 2..5, 3..6, LinesVisible = FALSE),
     Axes = None)

MuPAD graphics

Example 2

By default, parameter lines are drawn on a parametrized surface:

plot(plot::Surface([u*cos(v), u*sin(v), u^2*sin(5*v)],
                   u = 0..2, v = 0..2*PI, VSubmesh = 3)):

MuPAD graphics

You can switch these lines off interactively, or, as we do here, by setting ULinesVisible and VLinesVisible to FALSE in the plot command:

plot(plot::Surface([u*cos(v), u*sin(v), u^2*sin(5*v)],
                   u = 0..2, v = 0..2*PI, VSubmesh = 3,
                   ULinesVisible = FALSE,
                   VLinesVisible = FALSE)):

MuPAD graphics

When the surface is created with an adaptive mesh, we can make the irregular adaptive mesh visible by setting MeshVisible = TRUE:

plot(plot::Surface([u*cos(v), u*sin(v), u^2*sin(5*v)],
                   u = 0..2, v = 0..2*PI,
                   UMesh =  5, VMesh = 10,
                   ULinesVisible = FALSE,
                   VLinesVisible = FALSE,
                   AdaptiveMesh = 3,
                   MeshVisible = TRUE)):

MuPAD graphics

Example 3

We plot a dodecahedron with and without the border lines of its faces:

plot(plot::Scene3d(plot::Dodecahedron(LinesVisible = TRUE)),
     plot::Scene3d(plot::Dodecahedron(LinesVisible = FALSE)),
     Layout = Horizontal, Axes = None):

MuPAD graphics

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS