smithchart - Plot complex vector on Smith chart

Syntax

[lineseries,hsm] = smithchart(y)
hsm = smithchart

Description

[lineseries,hsm] = smithchart(y) plots the complex vector y on a Smith chart and returns

hsm = smithchart draws a blank Smith chart and returns the handle hsm of the Smith chart object.

Properties

smithchart creates the plot using default property values of a Smith chart. Use set(h,'PropertyName1',PropertyValue1,...) to change the property values. Use get(h) to get the property values.

This table lists all properties you can specify for smithchart objects along with units, valid values, and a descriptions of their use.

Property Name

Description

Units, Values

Color

Line color for a Z or Y Smith chart. For a ZY Smith chart, the Z line color.

ColorSpec. Default is [0.4 0.4 0.4] (dark gray).

LabelColor

Color of the line labels.

ColorSpec. Default is [0 0 0] (black).

LabelSize

Size of the line labels.

FontSize. Default is 10. See the Annotation Textbox Properties reference page for more information on specifying font size.

LabelVisible

Visibility of the line labels.

'on' (default) or 'off'

LineType

Line spec for a Z or Y Smith chart. For a ZY Smith chart, the Z line spec.

LineSpec. Default is '-' (solid line).

LineWidth

Line width for a Z or Y Smith chart. For a ZY Smith chart, the Z line width.

Number of points. Default is 0.5.

SubColor

The Y line color for a ZY Smith chart.

ColorSpec. Default is [0.8 0.8 0.8] (medium gray).

SubLineType

The Y line spec for a ZY Smith chart.

LineSpec. Default is ':' (dotted line).

SubLineWidth

The Y line width for a ZY Smith chart.

Number of points. Default is 0.5.

Type

Type of Smith chart.

'z' (default), 'y', or 'zy'

Value

Two-row matrix. Row 1 specifies the values of the constant resistance and reactance lines that appear on the chart. For the constant resistance/reactance lines, each element in Row 2 specifies the value of the constant reactance/resistance line at which the corresponding line specified in Row 1 ends.

2-by-n matrix. Default is [0.2000 0.5000 1.0000 2.0000 5.0000; 1.0000 2.0000 5.0000 5.0000 30.0000]

See Also

get
set
smith

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS