Code covered by the BSD License  

Highlights from
PLOTCOLS

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 3.75 KB File ID: #21429
image thumbnail

PLOTCOLS

by

 

12 Sep 2008 (Updated )

plots autoscaled columns of a matrix

| Watch this File

File Information
Description

PLOTCOLS plots data in columns of a matrix. One x column and any number of y columns can be chosen. Also the mean of the columns can be subtracted and the columns can be divided by their standard deviation. Another option is to divide by the maximum absolute value.
This is very useful for comparing differently scaled data taken over time in one plot without the need to type long commands!
Also, you can specify a name for each column, which is used for the legend and the x-axis label, and a LineSpec as in the plot function.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
24 Nov 2008

Added 'max' option to the input corr. 'max' will divide each column by its maximum absoute value before plotting. It can be catenated with the other options 'sd' and 'mean'.

Contact us