File Exchange

image thumbnail

Stacked line plot

version 2.1.1.0 (715 KB) by Christopher Hummersone
Stacked line plots from a matrix or vectors

8 Downloads

Updated 05 May 2018

GitHub view license on GitHub

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 (2020). Stacked line plot (https://www.github.com/IoSR-Surrey/MatlabToolbox), GitHub. Retrieved .

Comments and Ratings (1)

It does exactly what it says! Thank you for this very useful submission!

Updates

2.1.1.0

Migrated to GitHub.

2.1.1.0

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.

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