stackedplot: A quick way to plot without lines overlapping
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
Cite As
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. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.2.2.0 | (r5)
|
||
1.2.1.0 | (r4)
|
||
1.2.0.0 | (r2)
|
||
1.1.0.0 | (v1.1)
|
||
1.0.0.0 |