Main Content

PointsVisual

R2026b

Points visual

Since R2026b

    Description

    Add-On Required: This feature requires the 3D Scenarios add-on.

    A PointsVisual object controls the appearance of plotted points in a scenario viewer.

    Creation

    Create a PointsVisual object by using the plotpoints function.

    Properties

    expand all

    Width of the point edges, in pixels, specified as a positive scalar.

    Marker outline color, specified as "auto", an RGB triplet, a hexadecimal color code, a color name, or "none". The value "auto" uses a darker version of the color specified by the MarkerFaceColor property.

    Marker fill color, specified as an RGB triplet, a hexadecimal color code, a color name, or "none".

    Marker radius, in pixels, specified as a positive scalar.

    Point positions, specified as a geospatial table containing geopointshape objects. The number of table rows indicates the number of points.

    You can create a geospatial table from latitude, longitude, and height coordinates by using the pointtable function.

    State of visibility, specified as "on" or "off", or as numeric or logical 1 (true) or 0 (false). A value of "on" is equivalent to true, and "off" is equivalent to false. Thus, you can use the value of this property as a logical value. The value is stored as an on/off logical value of type matlab.lang.OnOffSwitchState.

    • "on" — Show the visual object in the viewer.

    • "off" — Do not show the visual object in the viewer.

    Version History

    Introduced in R2026b