Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
.Net VCL for Delphi 1.0.0.0
ASP. NET C# PDF Software 4.5
LinqConnect Professional 4.8
CAD VCL: 2D/3D CAD in Delphi/C++Builder 14
wolfSSL 3.15.7
CAD DLL 14
AnyStock Stock and Financial JS Charts 8.4.2
ODBC Driver for SQLite 2.4
dotConnect for SugarCRM 1.7
dbForge SQL Complete 5.9
dbForge Studio for MySQL 8.0
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
Top Code
Ticket Booking System 1.0
CPP-2-HTML CSS Source Code Tagger 1.02
GNU Common C 2.3.2
College Management System Script 1.0.4
Simple Hill-Climbing 1.0
.Net VCL for Delphi 1.0.0.0
MCU 8051 IDE 1.4.7
Java API for Java code generation 1.0
Network-Integrated Multimedia Middleware 2.2.0
Simple Webinterface Shopsystem for Shopping Carts 0.4
Online Food Ordeing System 1.0
Visual FoxPro Functions/Class Libary 100
BSW Ads Manager 1.0
Jigsaw Java Applet 1.0
Skincare Management System 1.4
Top Rated
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
Mouse-friendly FIGURE 1.0
File ID: 86619






Mouse-friendly FIGURE 1.0
Download Mouse-friendly FIGURE 1.0http://www.mathworks.com/Report Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 3
Submit Rating:
Mouse-friendly FIGURE 1.0 Description
Description: MOUSE_FIGURE(handle) creates a figure (or modifies an existing one with handle [handle]) that allows zooming with the scroll wheel and panning with mouse clicks, *without* first selecting the ZOOM or PAN tools from the toolbar. Moreover, zooming occurs to and from the point the mouse currently hovers over, instead of to and from the less intuitive "CameraPosition" as is the case with the default ZOOM. Naturally, the classical ZOOM and PAN toolbar icons are left unaltered.

Mouse button functionality:
Scroll: zoom in/out
Left click: pan
Double click: reset view to default view
Right click: set new default view

LIMITATIONS: This function (re-)efines several functions in the figure (WindowScrollWheelFcn, WindowButtonDownFcn, WindowButtonUpFcn and WindowButtonMotionFcn), so if you have any of these functions already defined they will get overwritten. Also, MOUSE_FIGURE() only works properly for 2-D plots. As such, it should only be used for simple, first-order plots intended for "quick-n-dirty" data exploration. Only tested on MATLAB 2009a, on WinXP platform.

EXAMPLE:

mouse_figure;
x = linspace(-1, 1, 10000);
y = sin(1./x);
plot(x, y)

License: Shareware

Related: windowbuttonmotionfcn, windowbuttonupfcn, Defined, Works, mouse figure, overwritten, windowbuttondownfcn, windowscrollwheelfcn

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 3



More Similar Code

This functions wraps Matlab figure function, allowing the user to set the figure size to one of the two following states- full screen or non full screen (figure default). As figure function results with non-maximized dimensions, the default in this function if full screen figure (otherwise there is no reason to use this function). It also can be used to resize the figure, in a manner similar to clicking the "Maximize"/"Restore...



Rubik Cube Game - MATLAB toy.

File list:
ChangePointer.m - function for change of mouse pointer
Congr.m - function for creation figure with congratulation
CreateNewGame.m - function for creation of new game



Display and update the pixel value from image in the figure title bar on mouse movement.

Usage:
z=rand(10,10);
h = image(z)
set(gcf,'WindowButtonMotionFcn', {@getPixelOnMouseMove,h});

Now move the mouse over...



a red heart could get big by clicking the mouse on the figure not the axis



Tired of clicking the task bar to find the figure window that you want? So was I, so I decided to use the mouse scroll wheel as a way to change the current figure.

This function will update the figure WindowScrollWheelFcn so that the...



This function opens a figure on screen. While in the figure, mouse button toggles the function on and off. While ON, the function samples and filters the mouse current location (in Realtime), and present both original and filtered points.



This function MOUSE3D enables mouse camera control on an certain figure axes.

Enable mouse control with mouse3d(axis-handle) or just mouse3d

MouseButtons
Left : Rotate
Right : Zoom
Center : Pan
Keys



This function provides continuous rotation of a 3D figure on the mouse up click. This may prevent a little bit of RSI ;-) It displays the elevation and azimuth values while rotating. Rotation is in the direction of mouse movement away from the...



Several related functions:

CreateCursor sets up a vertical cursor on all axes in a figure. The cursors can be moved around using the mouse.
Multiple cursors are supported in each figure

GetCursorLocation returns the...



GCIRCLE(FIG) draws a circle by clicking the mouse at the center and at some distance away in the figure FIG.

H = GCIRCLE(FIG) Returns the handle to the line.

GCIRCLE with no input arguments draws in the current figure.

User Review for Mouse-friendly FIGURE
- required fields
     

Please enter text on the image