RTslider

Slider widget that responds to dragging realtime.
2.6K Downloads
Updated 25 Aug 2004

View License

A function that places a vertical slider on the figure of your choice, and can be set to update the plot axes using the current slider position as a parameter in the function to be plotted.

This makes it quick to find a 'good' value for a particular parameter (or several parameters) by plotting the result and giving instant feedback. User functions or strings can be passed to allow the slider to control virtually anything, though it would usually only be used in updating plots.

Each slider has a variety of optional configurations. Multiple instances and spanning multiple windows is accepted (works at least for MATLAB 6).

Included in the zip-file is the function 'rtslid.m' and three demos showing you how to use the thing.

Cite As

Matt Jones (2024). RTslider (https://www.mathworks.com/matlabcentral/fileexchange/5764-rtslider), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on View and Analyze Simulation Results in Help Center and MATLAB Answers
Acknowledgements

Inspired: Snap Line, Diffraction grating, version 2

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