RayPathVisual
R2026bDescription
Add-On Required: This feature requires the 3D Scenarios add-on.
A RayPathVisual object controls the appearance of a plotted ray
path in a scenario viewer.
Creation
Create a RayPathVisual object by using the plot
function.
Properties
Color of the ray path, specified as an RGB triplet, a hexadecimal color code, or a color name.
When you plot a ray path by using the plot function, the
function applies color to the ray paths by using the values of the
ColorMetric, Colormap, and
ColorLimits name-value arguments.
Line width, in pixels, specified as a positive scalar. This value specifies the width of the line that makes up the ray path.
Radius of the endpoint markers, in pixels, specified as a positive scalar.
Ray path transparency, specified as a scalar in the range [0, 1]. A value of
1 is opaque and a value of 0 is completely
transparent.
Option to show the ray path line, 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 ray path line."off"— Do not show the ray path line.
Option to show the endpoint markers, 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.
"off"— Do not show the endpoint markers."on"— Show the endpoint markers.
The color of the source endpoint is white with a black outline. The color of each destination endpoint corresponds to the highest value for the specified color metric.
Option to show circular point markers at the interaction locations, 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.
"off"— Do not show markers at the interaction locations."on"— Show markers at the interaction locations.
The color of each interaction point matches the color of the corresponding ray path.
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
See Also
Functions
Objects
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)