plannerLineSpec.reverseTree
Syntax
Description
            
               
            specifies default color, line, and marker properties for plotting the reverse search
            tree.spec = plannerLineSpec.reverseTree
            
               
            specifies new values for the color, line, and marker properties by using one or more
            name-value arguments.spec = plannerLineSpec.reverseTree(Name=Value)
            [
            returns the properties and their values as a structure using any combination of inputs
            from the previous syntaxes.spec,structData] = plannerLineSpec.reverseTree(___)
Name-Value Arguments
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: 
            plannerLineSpec.reverseTree(Color="Red")
         
Line color, specified as one of these values:
- RGB triplet — Specify the intensities of the red, green, and blue components of the color as a three-element vector in the order - [R G B]. Each intensity must be in the range [0, 1]. For example, you can specify a shade of pink as- [1 0.5 0.8].
- Character vector or string scalar — Specify the hexadecimal color code, color name, or short name of the color. 
For more information on the types of color values and how to specify them, see Specify Plot Colors.
Line style, specified as one of these values:
- "-"— For a solid line. This is the default.
- "--"— For a dashed line.
- ":"— For a dotted line.
- "-."— For a dash-dotted line.
- "none"— For no line.
Line width, specified as a positive numeric scalar.
Marker symbol, specified as one of the values listed in this table.
| Marker | Description | Resulting Marker | 
|---|---|---|
| "o" | Circle | 
 
 
 | 
| "+" | Plus sign | 
 
 
 | 
| "*" | Asterisk | 
 
 
 | 
| "." | Point | 
 
 
 | 
| "x" | Cross | 
 
 
 | 
| "_" | Horizontal line | 
 
 
 | 
| "|" | Vertical line | 
 
 
 | 
| "square" | Square | 
 
 
 | 
| "diamond" | Diamond | 
 
 
 | 
| "^" | Upward-pointing triangle | 
 
 
 | 
| "v" | Downward-pointing triangle | 
 
 
 | 
| ">" | Right-pointing triangle | 
 
 
 | 
| "<" | Left-pointing triangle | 
 
 
 | 
| "pentagram" | Pentagram | 
 
 
 | 
| "hexagram" | Hexagram | 
 
 
 | 
| "none" | No markers | Not applicable | 
Marker size, specified as a positive numeric scalar.
Marker outline color, specified as one of these values:
- RGB triplet — Specify the intensities of the red, green, and blue components of the color as a three-element vector in the order - [R G B]. Each intensity must be in the range [0, 1]. For example, you can specify a shade of pink as- [1 0.5 0.8].
- Character vector or string scalar — Specify the hexadecimal color code, color name, or short name of the color. 
For more information on the types of color values and how to specify them, see Specify Plot Colors.
Marker fill color, specified as one of these values:
- RGB triplet — Specify the intensities of the red, green, and blue components of the color as a three-element vector in the order - [R G B]. Each intensity must be in the range [0, 1]. For example, you can specify a shade of pink as- [1 0.5 0.8].
- Character vector or string scalar — Specify the hexadecimal color code, color name, or short name of the color. 
For more information on the types of color values and how to specify them, see Specify Plot Colors.
Label to include in the legend, specified as a character vector or string scalar.
Output Arguments
Color, line, and marker specifications for plotting the reverse search tree, returned as a cell array of size 1-by-16.
Data Types: cell
Specifications for the plot, returned as a structure with fields
                     Color, LineStyle,
                     LineWidth, Marker,
                     MarkerSize, MarkerEdgecolor,
                     MarkerFaceColor, and DisplayName. Each
                  field contains the value specified to the corresponding name-value
                  argument.
Data Types: struct
Version History
Introduced in R2023b
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)














