No BSD License  

Highlights from
moveplot2.m

4.42857

4.4 | 7 ratings Rate this file 9 Downloads (last 30 days) File Size: 6.54 KB File ID: #1422

moveplot2.m

by Alex Woo

 

26 Feb 2002 (Updated 12 Mar 2002)

modification of moveplot to restore buttons

| Watch this File

File Information
Description

Slight modification of moveplot so the function restores the buttonfunctions. Moveplot also now turns itself off by double-clicking.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
moveplot.m

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
15 May 2003 dave edwards

Excellent routine. Was able to incorporate directly into my application with very little modification.

08 Aug 2003 aindriu o ceallaigh

extremely useful function.

one suggested addition: in the last line :h=uicontrol('fsfsf....') include the property 'sliderstep' and step size where step size is a 2 element argument. the first is the % of xmax by which to increment the slider when the arrow is pressed. the 2nd is the % by which to increment the slider when you click to the side of the bar.

e.g. h=uicontrol(' ..........,xmax-dx,'sliderstep',[0.01 0.1])

07 Dec 2004 ehab el far  
06 Jun 2007 Bahi Kandavel  
08 Feb 2010 Kushsairy

Hi
i used the moveplot and would like to know how to get the new points from the function. Coz i need to update the old points with the new point in my program

08 Jun 2010 grega

Hei,
Nice application!
Yes, would be good to get X,Y from modified plot.
Also, would be good to work with multiple lines/matrix.
thanks!

12 Aug 2010 Leslie

The function works fine for one plot. How to make it work with subplots (2 subplots in a figure)
the call
cp=get(gca,'currentpoint');
seems not to return the correct mouse position for 2 or more subplots
Any help

Leslie

23 Apr 2012 giwon hong  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
annotation Alex Woo 22 Oct 2008 06:42:34
customization Alex Woo 22 Oct 2008 06:42:34
plot Alex Woo 22 Oct 2008 06:42:34
graphical Alex Woo 22 Oct 2008 06:42:34
manipulation Alex Woo 22 Oct 2008 06:42:34
plot annotation Alex Woo 22 Oct 2008 06:42:34

Contact us at files@mathworks.com