multisignalplot(d,v​arargin)

plots multiple lines in a single figure separated by a set value
188 Downloads
Updated 20 Feb 2016

View License

% -------- [fh,lh] = multisignalplot(d,varargin) ---------
%
% Plots all of the signals in a data matrix in one figure, separated on the y-axis by a
% the mean(max(data)), or by a user-defined value.
%
% >>> INPUTS >>>
% Required:
% d = data matrix
% Optional:
% Fs = sampling rate...if provided, will plot relative to time on x-axis
% format = 'r','c'...lets the function know if your data is in row or
% column format...by default assumes 'c'.
% col = line color (default 'k');
% maxval = value to separate lines by...default is mean(max(d));
%
% <<< OUTPUTS <<<
% fh = handle to axis
% lh = handle to each line separately
%
% By JMS, 11/04/2015
% --------------------------------------------------------

Cite As

Jordan Sorokin (2024). multisignalplot(d,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/55525-multisignalplot-d-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Line Plots in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0