M-File Help: mplot | View code for mplot |
multiple data
Plot y versus t in multiple windows.
MPLOT(y) MPLOT(y, n) MPLOT(y, n, {labels})
Where y is multicolumn data and first column is time. n is a row vector specifying which variables to plot (1 is first data column, or y(:,2)). labels is a cell array of labels for the subplots.
MPLOT(t, y) MPLOT(t, y, n) MPLOT(t, y, {labels})
Where y is multicolumn data and t is time. n is a row vector specifying which variables to plot (1 is first data column, or y(:,2)). labels is a cell array of labels for the subplots.
MPLOT(S)
Where S is a structure and one element 't' is assumed to be time. Plot
all other vectors versus time in subplots. Subplots are labelled as per the data fields.
© 1990-2012 Peter Corke.