image thumbnail

multisignalplot(d,v​arargin)

version 1.0.0.0 (1.54 KB) by Jordan Sorokin
plots multiple lines in a single figure separated by a set value

152 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 (2021). 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
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!