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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- 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)