Code covered by the BSD License  

Highlights from
RTslider

4.66667

4.7 | 6 ratings Rate this file 9 Downloads (last 30 days) File Size: 10.26 KB File ID: #5764
image thumbnail

RTslider

by Matt Jones

 

24 Aug 2004 (Updated 25 Aug 2004)

Slider widget that responds to dragging realtime.

| Watch this File

File Information
Description

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.

Acknowledgements
This submission has inspired the following:
Snap Line, Diffraction grating, version 2
MATLAB release MATLAB 6.5.1 (R13SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
20 May 2005 Brian O

handy, little tricky to implement, but demo's good.

29 Sep 2005 d s

Wow -- just what I was looking for!

02 Dec 2005 Michael Gustafson

VERY nifty - I was trying to write a GUI to control some lighting we have and could get the static version working, but this is really great.

25 Jun 2006 Tom O'Haver

Very good. Works well. I have already started using it.

22 Mar 2007 HH Andrew

Good,but my computer hang when I try to run the demo

09 May 2008 som soum

comment raire larelation entre la figure et slider

21 Aug 2008 Pranav Kachhawa

Very good ..... m using it to find peaks in real time ECG signal

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui tools Matt Jones 22 Oct 2008 07:30:40
example Matt Jones 22 Oct 2008 07:30:40
mouse Matt Jones 22 Oct 2008 07:30:40
drag Matt Jones 22 Oct 2008 07:30:40
realtime Matt Jones 22 Oct 2008 07:30:40
slider Matt Jones 22 Oct 2008 07:30:40
gui Matt Jones 22 Oct 2008 07:30:40
example loutho thomas 23 Jan 2010 11:18:41

Contact us at files@mathworks.com