You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
> click and drag off of object to pan
> click and drag object to move it
> right-click to show/hide titles
> right-click to fit all plots in window
> shift-click to create zoom rectangle
> double-click to recenter
> mouse scroll wheel to zoom in/out
* note: some examples use 'hanning' from the Signal Processing toolbox, but these may be adjusted to work around if necessary.
* note: props to Paul S. Koch for the inspiration with uilineshift.m!
possible improvements, to be posted at a later release:
-ability to select and move multiple lines ('group')
-highlighting selected group
-optional legend, and selecting on plot from it
-plot scaling to account for very large plot lag
-saving shifted plot
-other suggestions are welcome (:
Cite As
Corey Gravelle (2026). plot_shift.m (https://www.mathworks.com/matlabcentral/fileexchange/29022-plot_shift-m), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: uilineshift
General Information
- Version 1.1.0.0 (124 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.1.0.0 | Eliminated need for external 'uiextras' toolbox, though i would highly recommend the following for setting up GUI's:
|
||
| 1.0.0.0 |
