Getting Started    

Creating Custom Plots

Time and frequency response commands are useful for creating custom plots. You can mix model response plots with other data views using response commands together with plot, subplot, and hold.

Example: Custom Plots

For example, the following sequence of commands displays the Bode plot, step response, pole/zero map, and some additional data in a single figure window.

Your plot should look similar to this illustration.

Figure 3-18: Example of Model and Nonmodel Data Plotted in One Window

For information about plot, subplot, hold, and other options for plotting general data, see Basic Plots and Graphs in the MATLAB Function Reference. These documents are available in the MATLAB online help.


  Plotting and Comparing Multiple Systems Simulink LTI Viewer