Interactive Sliding of a Plot with Matlab

版本 1.2.0 (4.8 MB) 作者: Hristo Zhivomirov
Interactive sliding of a 2D or 3D plot along its x-axis using the keyboard arrows.
145.0 次下载
更新时间 2021/2/14

查看许可证

The present code is a Matlab function that provides interactive sliding of a plot along its x-axis using the keyboard arrows. The function is very suitable for organizing of visualization and inspection of data with big number of columns (vectors or matrices), so 2D and 3D plots can be sliding along its x-axis with given span and step-size. The user can navigate through the x-axis via the keyboard arrows as follows:
- left and right arrows allow navigation backwards and forwards along the x-axis, respectively, with given user-defined step-size (hop size; x-axis' advance);
- down and up arrows allow navigation backwards and forwards along the x-axis with 10 times the preset step-size;
- “Home” key – backwards to the beginning of the x-axis;
- “End” key – forwards to the end of the x-axis.
The additional command “slidingtogether” provides simultaneously sliding of several subplots, if there is a need. The “slidingtogether” command could not be used independently but only in conjunction with the developed “slidingplot” function.

Three examples are given in order to clarify the usage of the function. For convenience, the input and output arguments are given in the beginning of the function.

引用格式

Hristo Zhivomirov (2024). Interactive Sliding of a Plot with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/78817-interactive-sliding-of-a-plot-with-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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

A new version of the code has been uploaded.

1.1.0

Change of the title of the submission.

1.0.0