No BSD License  

Highlights from
Simplified management of figure pointer property

5.0

5.0 | 2 ratings Rate this file 2 Downloads (last 30 days) File Size: 4.23 KB File ID: #9855
image thumbnail

Simplified management of figure pointer property

by Jerome Briot

 

02 Feb 2006 (Updated 31 Aug 2006)

Simplified management of figure pointer property

| Watch this File

File Information
Description

The zip file contains three files :

SETFIGPTR.M is based on SETPTR.M from T. Kauss (TMW). It basically sets the figure pointer property as the following command does :

set(fig_handle,'pointer',...)

But it adds more pointer than those contained in the default parameter :

   'hand' - open hand for panning indication
   'hand1' - open hand with a 1 on the back
   'hand2' - open hand with a 2 on the back
   'closedhand' - closed hand
   'glass' - magnifying glass
   'lrdrag' - left/right drag cursor
   'ldrag' - left drag cursor
   'rdrag' - right drag cursor
   'uddrag' - up/down drag cursor
   'udrag' - up drag cursor
   'ddrag' - down drag cursor
   'add' - arrow with + sign
   'addzero' - arrow with 'o'
   'addpole' - arrow with 'x'
   'eraser' - eraser
   'help' - arrow with question mark ?
   'zoomin' - magnifying glass with +
   'zoomout' - magnifying glass with -
   'matlabdoc' - exemple of custom made pointer from the Matlab doc.
   'none' - no pointer

GETFIGPTR is based on GETPTR.M from T. Kauss (TMW). It basically gets the figure pointer property.

SWITCHFIGPTR lets the user to modify the pointer and set it back later.

See this example :

<stuff>
switchfigptr('watch',gcf)
<do other stuff>
swtichfigptr

The first call will store the current pointer and replace it by the 'watch' one. The second call will restore the pointer.

See help sections for more informations.

########################################
Revisions:

Aug 2006 - 4 new pointers added (zoomin,zoomout,matlabdoc,none)

Acknowledgements
This submission has inspired the following:
POINTEREDITOR
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 (2)
02 Feb 2006 urs (us) schwarz

very nice suite of handy little pointer-managers
- good help
- certainly hard work to enter those matrices
us

25 Aug 2006 John D'Errico

Simple, well written help. Easy to use. A great little utility.

Please login to add a comment or rating.
Updates
31 Aug 2006

Minor enhancements.

Tag Activity for this File
Tag Applied By Date/Time
pointer cursor Jerome Briot 22 Oct 2008 08:14:25
simplified Jerome Briot 22 Oct 2008 08:14:25
management Jerome Briot 22 Oct 2008 08:14:25
zip Jerome Briot 22 Oct 2008 08:14:25

Contact us at files@mathworks.com