The smithchart
function returns a handle to the Smith
chart object and, optionally, a vector of lineseries
objects.
The smithplot
function returns only a
smithplot
object, which enables you to easily control
plotting features. For example, consider the following code.
data = [-0.4+0.02i -0.05+0.63i 0.32+0.71i 0.5+0.67i];
[hlineseries,hsc] = smithchart(data);
hlineseries.LineWidth = 2;
hsc.Type = 'Y';
The following code produces an equivalent Smith chart using
smithplot
instead.
data = [-0.4+0.02i -0.05+0.63i 0.32+0.71i 0.5+0.67i];
smithplot(data,'LineWidth',2,'GridType','Y');
If your code uses the lineseries
or
smithchart
handles, rewrite your code to use the
equivalent properties of smithplot
. For example, to replace
the smithchart
property Value
, use
'GridValue'
in the call to
smithplot
.
Otherwise just replace the call to smithchart
with a call
to smithplot
.
For more information, see smithplot
in the