主要内容

plotpoints

R2026b

Plot points in 3D scenario viewer

Since R2026b

    Description

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

    pointvis = plotpoints(v,data) displays 2D or 3D points in the specified viewer and returns a points visual object. Specify the vertices of the points using data.

    pointvis = plotpoints(v,data,Name=Value) specifies options for the points using one or more name-value arguments.

    Input Arguments

    collapse all

    Viewer, specified as a GlobeViewer object.

    Point vertices, specified as a geospatial table containing geopointshape objects. You can create a geospatial table from latitude, longitude, and height coordinates by using the pointtable function.

    This argument sets the Data property of the PointsVisual object pointvis

    Name-Value Arguments

    collapse all

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Example: plotpoints(v,data,MarkerFaceColor="red") displays red points.

    Note

    Use name-value arguments to specify values for the properties of the PointsVisual object created by this function. The properties listed here are only a subset. For a full list, see PointsVisual.

    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.

    Output Arguments

    collapse all

    Points visual, returned as a PointsVisual object.

    Version History

    Introduced in R2026b

    See Also

    Objects

    Functions