Main Content

Specify Toolbox Settings for Linear Analysis Plots

You can configure linear analysis plot settings that persist between MATLAB® sessions.

To open the setting dialog box, at the MATLAB command line, enter the following command.

identpref

Units Settings

In the Units section configure settings for the following:

  • Frequency

    The default auto option uses rad/TimeUnit as the frequency units relative to the system time units, where TimeUnit is the system time units specified in the TimeUnit property of the system on frequency-domain plots. For multiple systems with different time units, the units of the first system is used.

    For the frequency axis, you can select logarithmic or linear scales.

    You can also manually select the following frequency units:

    • Hz

    • rad/s

    • rpm

    • kHz

    • MHz

    • GHz

    • rad/nanosecond

    • rad/microsecond

    • rad/millisecond

    • rad/minute

    • rad/hour

    • rad/day

    • rad/week

    • rad/month

    • rad/year

    • cycles/nanosecond

    • cycles/microsecond

    • cycles/millisecond

    • cycles/hour

    • cycles/day

    • cycles/week

    • cycles/month

    • cycles/year

  • Magnitude

    • dB — Decibels

    • absolute value — Absolute value, which you can plot on a linear or logarithmic scale

  • Phase — Degrees or radians

  • Time

    The default auto option uses the time units specified in the TimeUnit property of the system on the time- and frequency-domain plots. For multiple systems with different time units, the units of the first system are used.

    You can also manually select the following time units:

    • nanoseconds

    • microseconds

    • milliseconds

    • seconds

    • minutes

    • hours

    • days

    • weeks

    • months

    • years

Style Settings

In the Style section, you can toggle grid visibility and configure font settings and axes foreground colors for all plots you create.

You have the following choices:

  • Grids — Activate grids by default in new plots.

  • Fonts — Set the font size, weight (bold), and angle (italic). Select font sizes from the menus or type any font-size values in the fields.

  • Colors — Specify the color vector to use for the axes foreground, which includes the X-Y axes, grid lines, and tick labels. Use a three-element vector to represent red, green, and blue (RGB) values. Vector element values can range from 0 to 1.

    If you do not want to specify RGB values numerically, click Select to open the Color dialog box.

Response Settings

The Response section has selections for time responses and frequency responses.

For time response plots, the following options are available:

  • Show settling time within xx% — Set the threshold of the settling time calculation to any percentage from 0 to 100%. The default is 2%.

  • Specify rise time from xx% to yy% — The standard definition of rise time is the time it takes the signal to go from 10% to 90% of the final value. Specify any percentages you like (from 0% to 100%), provided that the first value is smaller than the second.

For frequency response plots, the following options are available:

  • Only show magnitude above — Specify a lower limit for magnitude values in response plots so that you can focus on a region of interest.

  • Wrap phase at — Wrap the phase into the interval [–180º,180º). To wrap accumulated phase across a different interval, enter the lower limit of the interval in the text box. For example, entering 0 causes the plot to wrap the phase into the interval [0º,360º).

See Also

Topics