plot_signals

版本 1.1 (62.7 KB) 作者: Eike Petersen
A simple matlab method for plotting and comparing a bunch of signals in a matrix.
28.0 次下载
更新时间 2021/12/21

Two simple plotting functions for convenient one-line plotting of multiple signals in Matlab. The standard Matlab functions require quite a few lines of code to set up a plot with one subplot per matrix row/column, linking the axes of the different subplots, labeling the different subplots, etc. These functions were designed to make that process as simple and pain-free as possible, while also allowing for loads of customization (e.g., log plots, vlines, additional reference signals for comparison, etc.) where required.

plot_signals generates a single figure with subplots of signals contained in a matrix. All signals are plotted against a common x axis, and various visual tweaks are employed to make the plot more useful and visually appealing than the default plots. Many options are available for customizing the result to individual requirements.

compare_signals works similarly but takes a cell array of matrices with signals to be compared against another directly, creating subplots with one line per matrix provided.

Instructions for demo cases can be found in the documentation of both functions.

If you find any bugs or have suggestions for improvements, please let me know!

-- Eike Petersen, 2021

This script has been developed while I was at the University of Lübeck, with the Institute for Electrical Engineering in Medicine.

引用格式

Eike Petersen (2024). plot_signals (https://github.com/e-pet/plot_signals/releases/tag/1.1), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2021b
与 R2019b 及更高版本兼容
平台兼容性
Windows macOS Linux
致谢

启发作品: kfs_suite

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1

See release notes for this release on GitHub: https://github.com/e-pet/plot_signals/releases/tag/1.1

1.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库