A figure with sliders

Creates or adds sliders to a figure
2.2K Downloads
Updated 15 Dec 2008

View License

FIGURESLIDER cretes by itself a new figure with horizontal and vertical sliders and returns its handle. Sliders are hidden if all objects are shown in the figure. When the figure gets smaller than the enclosed object set, sliders may be used to shift the figure view. Objects in normalized Units are not affected.
An additional Center button is available on the lower right side of the figure window.

FIGURESLIDER(H) adds sliders to an existing window.

FIGURESLIDER works the same as FIGURE. You may use GET(H) to obtain properties of the figure.

Example: figureslider('Name','Figure with sliders', 'ToolBar','figure')

Cite As

Emmanuel Farhi (2024). A figure with sliders (https://www.mathworks.com/matlabcentral/fileexchange/22091-a-figure-with-sliders), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

shorter code, file updated

1.1.0.0

Make sure sliders do not move when using them

1.0.0.0