Stacked line plot

Stacked line plots from a matrix or vectors
1.9K Downloads
Updated 5 May 2018

NOTE: this function is now available from the IoSR Matlab Toolbox as iosr.figures.multiwaveplot.
-------------------------
Multiwaveplot draws a series of stacked waves (one on top of the other) contained in the rows of an input 2-D matrix. Each wave has a designated row on the plot. Data may also be specified as vectors X, Y, and Z. The plot is similar to a cascade or waterfall plot.

Cite As

Christopher Hummersone (2024). Stacked line plot (https://github.com/IoSR-Surrey/MatlabToolbox), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
2.1.1.0

Migrated to GitHub.
Fixed how function handles y-scale-ends, and updated documentation.

2.1.0.0

Added option to reverse y-axis direction.

2.0.0.0

Reconfigured interface. Added horizon options and support for vector inputs.

1.10.0.0

Minor tweak to how y-axis min is calculated.

1.9.0.0

Corrected two bugs: one where scale would be recursively updated depending on magnitude order in wave, and the other where y axis min was erroneous if gain was set.

1.8.0.0

Added trap for cases where input contents are all zero (or, at least one row is).

1.7.0.0

Corrected ylim so that top row is not cropped when gain is applied.

1.5.0.0

Some bug fixes and efficiency savings. Updated documentation.

1.4.0.0

Minor updates to example and validation; new screenshot.

1.3.0.0

Tidied up, updated description

1.2.0.0

Ooops, forgot to check the MODE argument

1.1.0.0

Added optional plotting mode argument: 'fill' or 'plot'. 'plot' is useful for fine structure plotting, 'fill' is useful for correlograms. Tidied up input validation.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.