PLOTCOLS

plots autoscaled columns of a matrix

您现在正在关注此提交

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.

引用格式

Felix Zoergiebel (2026). PLOTCOLS (https://ww2.mathworks.cn/matlabcentral/fileexchange/21429-plotcols), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Line Plots 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.1.0.0

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'.

1.0.0.0