semilogy

Plot specified circuit object parameters using log scale for y-axis

Syntax

lineseries = semilogy(h,parameter)
lineseries = semilogy(h,parameter1,...,parametern)
lineseries = semilogy(h,parameter1,...,parametern,format)
lineseries = semilogy(h,'parameter1',...,'parametern', format,xparameter,xformat,'condition1',value1,..., 'conditionm',valuem, 'freq',freq,'pin',pin)

Description

lineseries = semilogy(h,parameter) plots the specified parameter in the default format using a logarithmic scale for the y-axis. h is the handle of a circuit (rfckt) object.

Type listparam(h) to get a list of valid parameters for a circuit object, h. Type listformat(h,parameter) to see the legitimate formats for a specified parameter. The first listed format is the default for the specified parameter.

The semilogy method returns a column vector of handles to lineseries objects, one handle per line. This output is the same as the output returned by the MATLAB® semilogy function.

lineseries = semilogy(h,parameter1,...,parametern) plots the parameters parameter1,..., parametern from the object h on an X-Y plane using a logarithmic scale for the y-axis.

lineseries = semilogy(h,parameter1,...,parametern,format) plots the parameters parameter1,..., parametern in the specified format. format is the format of the data to be plotted, e.g. 'Magnitude (decibels)'.

Use the Property Editor (propertyeditor) or the MATLAB set function to change lineseries properties. The reference pages for MATLAB functions such as figure, axes, and text also list available properties and provide links to more complete property descriptions.

lineseries = semilogy(h,'parameter1',...,'parametern', format,xparameter,xformat,'condition1',value1,..., 'conditionm',valuem, 'freq',freq,'pin',pin) plots the specified parameters at the specified operating conditions for the object h.

xparameter is the independent variable to use in plotting the specified parameters. Several xparameter values are available for all objects. When you import rfckt.amplifier, rfckt.mixer, or rfdata.data object specifications from a .p2d or .s2d file, you can also specify any operating conditions from the file that have numeric values, such as bias.

The following table shows the most commonly available parameters and the corresponding xparameter values. The default settings listed in the table are used if xparameter is not specified.

Parameter Namexparameter values
Pout, Phase, LS11, LS12, LS21, LS22Pin (default), Freq
S11, S12, S21, S22, NF, OIP3, GroupDelay, VSWRIn, VSWROut, GAMMAIn, GAMMAOut, FMIN, GAMMAOPT, RN, TF1, TF2, Gt, Ga, Gp, Gmag, Gmsg, GammaMS, GammaML, K, Delta, Mu, MuPrimeFreq
AM/AM, AM/PMAM

xformat is the format to use for the specified xparameter. No xformat specification is needed when xparameter is an operating condition.

The following table shows the xformat values that are available for the xparameter values listed in the preceding table, along with the default settings that are used if xformat is not specified.

xparameter valuesxformat values
PindBm (default), mW, W, dBW
Freq

THz, GHz, MHz, KHz, Hz

By default, xformat is chosen to provide the best scaling for the given xparameter values.

AMMagnitude (decibels) (default), Magnitude (linear)

condition1,value1,..., conditionm,valuem are the optional condition/value pairs at which to plot the specified parameters. These pairs are usually operating conditions from a .p2d or .s2d file. For some parameters, you can specify a set of frequency or input power values at which to plot the specified parameter.

For example:

freq is the optional frequency value, in hertz, at which to plot the specified parameters.

pin is the optional input power value, in dBm, at which to plot the specified parameters.

If h has multiple operating conditions, such as from a .p2d or .s2d file, the semilogy method operates as follows:

See Also

analyze
calculate
extract
getz0
listformat
listparam
loglog
plot
plotyy
polar
read
restore
semilogx
smith
write

  


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