spectrumoptions
Option set for spectrumplot
Description
creates
the default option set for opt = spectrumoptionsspectrumplot. Use
dot notation to customize the option set, if needed.
initializes
the plot options with the System Identification Toolbox™ preferences.
Use this syntax to change a few plot options but otherwise use your
toolbox preferences.opt = spectrumoptions('identpref')
Examples
Specify the plot options.
plot_options = spectrumoptions; plot_options.FreqUnits = 'Hz'; plot_options.FreqScale = 'linear'; plot_options.Xlim = {[0 20]}; plot_options.MagUnits = 'abs';
Estimate an AR model.
load iddata9 z9 sys = ar(z9,4);
Plot the output spectrum for the model.
spectrumplot(sys,plot_options);

opt = spectrumoptions('identpref');Output Arguments
Option set containing the specified options for spectrumplot.
| Field | Description |
|---|---|
|
Text and style for axes labels and plot title, specified as a structure array with the following fields:
|
TickLabel |
Tick label style, specified as a structure array with the following fields:
|
Grid |
Show or hide the grid, specified as one of the
following values: Default:
|
GridColor |
Color of the grid lines, specified as one of the
following: vector of RGB values in the range
Default:
|
XLimMode, YLimMode |
Axes limit modes, specified as one of the following values:
Default:
|
XLim, YLim | Axes limits, specified as an array of the form [min,max] |
IOGrouping |
Grouping of input-output pairs in the plot,
specified as one of the following values:
Default:
|
InputLabels, OutputLabels |
Input and output label styles, specified as a structure array with the following fields:
|
InputVisible, OutputVisible |
Visibility of input and output channels, specified
as one of the following values:
Default:
|
ConfidenceRegionNumberSD |
Number of standard deviations to use to plot the response confidence region. Default:
|
FreqUnits | Frequency units, specified as one of the following values:
Default: You
can also specify |
FreqScale |
Frequency scale, specified as one of the following
values: Default:
|
MagUnits |
Magnitude units, specified as one of the following
values: Default:
|
MagScale |
Magnitude scale, specified as one of the following
values: Default:
|
MagLowerLimMode |
Enables a lower magnitude limit, specified as one
of the following values: Default:
|
MagLowerLim | Lower magnitude limit, specified as data type double. |
Version History
Introduced in R2012a
See Also
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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)