uplot
Plot multiple frequency response objects and double
s on same graph
Syntax
uplot(G1) uplot(G1,G2) uplot(G1,Xdata,Ydata) uplot(G1,Xdata,Ydata,...) uplot(G1,linetype) uplot(G1,linetype,G2,...) uplot(G1,linetype,Xdata,Ydata,linetype) uplot(type,G1,linetype,Xdata,Ydata,linetype) H = uplot(G1) H = uplot(G1,G2) H = uplot(G1,Xdata,Ydata) H = uplot(G1,Xdata,Ydata,...) H = uplot(G1,linetype) H = uplot(G1,linetype,G2,...) H = uplot(G1,linetype,Xdata,Ydata,linetype)
Description
uplot
plots double
and frd
objects. The syntax is the same as the MATLAB® plot
command except that all data is contained in frd
objects, and the axes are specified by type
.
The (optional) type
argument must be one of
Type | Description |
---|---|
'iv,d' | Data versus independent variable (default) |
'iv,m' | Magnitude versus independent variable |
'iv,lm' |
|
'iv,p' | Phase versus independent variable |
'liv,m' | Magnitude versus |
'liv,d' | Data versus |
'liv,m' | Magnitude versus |
'liv,lm' |
|
'liv,p' | Phase versus |
'r,i' | Real versus imaginary (parametrize by independent variable) |
'nyq' | Real versus imaginary (parametrize by independent variable) |
'nic' | Nicholas plot |
'bode' | Bode magnitude and phase plot |
The remaining arguments of uplot
take the same form as the MATLAB plot
command. Line types (for example,'+', 'g-.', or '*r'
) can be optionally specified after any frequency response argument.
There is a subtle distinction between constants and frd
objects with only one independent variable. A constant is treated as such across all frequencies, and consequently shows up as a line on any graph with the independent variable as an axis. A frd
object with only one frequency point always shows up as a point. You might need to specify one of the more obvious point types in order to see
it (e.g
., '+'
, 'x
', etc.).
Examples
Version History
Introduced before R2006a