stackedplot: A quick way to plot without lines overlapping

版本 1.2.2.0 (7.8 KB) 作者: Kesh Ikuma
Plotting multple lines on the same axes with properly spaced offsets
438.0 次下载
更新时间 2015/11/4

查看许可证

Stackedplot wraps the built-in plot function to post-process the plotted lines, spacing them out so each lines can be observed easily. Makes it a quick (if not the quickest) way to inspect multi-channel data.
Features:
* Just works. Simply add "stacked" in front of an existing "plot" command line to spread the plots out
* Can spread on either x and y axis via PlotOrder parameter
* A label is automatically added for each plot lines in place of the standard ylabel/xlabel
* Layout is highly customizable via a number of parametric arguments
* Support log plots
* Baseline can be added (think of the built-in "bar" function)
* Baseline and rangelines are automatically adjusted if non-stacked axis limits property is modified

引用格式

Kesh Ikuma (2024). stackedplot: A quick way to plot without lines overlapping (https://www.mathworks.com/matlabcentral/fileexchange/53620-stackedplot-a-quick-way-to-plot-without-lines-overlapping), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Line Plots 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.2.0

(r5)
* Fixed the error due to mishandling of the plot linespec arguments
* Changed single-line plot default PlotOrder from 'leftright' to 'topdown'
(r5)
* Further fix to the input argument processing

1.2.1.0

(r4)
* Removed the nagging warning in R2014b for using 'feature('UseHG2')

1.2.0.0

(r2)
* Automatic baseline/rangeline adjustment when non-stacked axis limit changes
* Bug fixes

1.1.0.0

(v1.1)
* Added 'normalize' option to PlotScaling parameter
* Fixed values of ticklabels if DataTickMode~='none' and PlotScaling is turned on

1.0.0.0