Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.572.341 Times

ScreenCapture - get a screen-capture of a figure frame or component 1.0

  Date Added: March 27, 2013  |  Visits: 279

ScreenCapture - get a screen-capture of a figure frame or component

Report Broken Link
Printer Friendly Version

Product Homepage
Download (18 downloads)

ScreenCapture gets a screen-capture of any Matlab GUI handle (including desktop, figure, axes or uicontrol), or a specified area rectangle located relative to the specified handle. Screen area capture is possible by specifying the root (desktop) handle (=0). The output can be either to an image file or to a Matlab matrix (useful for displaying via imshow() or for further processing). This utility also enables adding a toolbar button for easy interactive screen-capture.Syntax: imageData = screencapture(handle, position, filename, 'PropName',PropValue, ...) Input Parameters: handle - optional handle to be used for screen-capture origin. If empty/unsupplied then current figure (gcf) will be used. position - optional position array in pixels: [x,y,width,height]. If empty/unsupplied then the handle's position vector will be used. If both handle and position are empty/unsupplied then the position will be retrieved via interactive mouse-selection. filename - optional filename for storing the screen-capture. If empty/unsupplied then no output to file will be done. The file format will be determined from the filename (JPG/PNG/...). Supported formats are those supported by the imwrite function. If neither filename nor imageData were specified, the user will be asked to interactively specify the output filename. 'PropName',PropValue - optional list of property pairs e.g., screencapture('filename','sc.png','pos',[10,20,30,40],'handle',gca) PropNames may be abbreviated and are case-insensitive. PropNames may also be given in whichever order. Supported PropNames are: - 'handle' (default: gcf handle) - 'position' (default: gcf position array) - 'filename' (default: '') - 'toolbar' (figure handle; default: gcf) this adds a screen-capture button to the figure's toolbar If this parameter is sspecified, then no screen-capture will take place and the returned imageData will be [].Output parameters: imageData - image data in a format acceptable by the imshow function. If neither filename nor imageData were specified, the user will be asked to interactively specify the output filename. Examples: imageData = screencapture; % interactively select screen-capture rectangle imageData = screencapture(hListbox); % capture image of a uicontrol imageData = screencapture(0, [20,30,40,50]); % select a small desktop region imageData = screencapture(gcf,[20,30,40,50]); % select a small figure region imageData = screencapture(gca,[10,20,30,40]); % select a small axes region imshow(imageData); % display the captured image in a matlab figure imwrite(imageData,'myImage.png'); % save the captured image to file screencapture(gcf,[],'myFigure.jpg'); % capture the entire figure into file screencapture('handle',gcf,'filename','myFigure.jpg'); % same as previous screencapture('toolbar',gcf); % adds a screen-capture button to gcf's toolbar screencapture('toolbar',[],'file','sc.bmp'); % same with default output filename Bugs and suggestions: Please send to Yair Altman (altmany at gmail dot com)

Requirements: No special requirements
Platforms: Matlab
Keyword: Asked Default Figure Filename Function Handle Imwrite Interactively Order Output Parameter Place Position Returned Sspecified Toolbar Whichever
Users rating: 0/10

License: Shareware Size: 10 KB
Multimedia  -  tooltiptoggle 1.0
Function to toggle the display of tooltips within the given function handle.Uses get/set app data to:. save the state of 'toggle' in the figure handle and. save the tooltip string in the uicomponent
10 KB  
Multimedia  -  Mouse scroll wheel navigation 1.0
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 mouse scroll...
10 KB  
Development Tools  -  Improved WHOS function 1.0
WHOSBETTER is a function that sorts the WHOS output according a user defined input (ie name, size, bytes, type etc.). The output also includes the FULL size rather than the #-D labels that TMW prefers. The output is also human readable and...
10 KB  
Development Tools  -  Temporary (or anonymous) function handles for ML 6
The anonymous function handle feature of ML 7 is a long-needed feature, and one that I have longed for since I began writing scripts in early ML 6.Unfortunately, I am still forced to use ML 6 most of the time, so I came up with a way to create...
10 KB  
Multimedia  -  Duplicate X-axes 1.0
The function duplicateX creates duplicate X-axes for a figure, the new axes relationship to the original axes is determined by input function.An auto update when zooming, for the duplicate axes, is allso available using version 7.5 (R2007B).The...
10 KB  
Multimedia  -  plot2mif 1.0
MATLAB to Framemaker MIF converterOnly 2D plots are currently supportedUsage: plot2mif(filename,graphic handle) optional optional Creates a Framemaker MIF file with the vector graphics contents of a MATLAB figure. The elements are hierarchically...
10 KB  
Development Tools  -  MYaxis 1.0
a function to define the coordination of your own subplot axesyou'd better estimate the input to assure not exceed the figure;this function is similar to the subplot(row,col,i)i is the ith...
10 KB  
Development Tools  -  Direct Indexing of Function Calls (OOP Exercise) 1.0
IndexableFunction is a class of function-handle-like objects that allow a function to be called and post-indexed in a single expression. Often, in the MATLAB Central NG, I've seen people ask whether it is possible to call functions with a syntax...
10 KB  
Education  -  Wave Function Plotter Model 1.0
The Ejs Wave Function Plotter model displays a one-dimensional wave function u(x,t) depicting a disturbance at position x and time t. The disturbance can be mass density, pressure, or electric field depending on the physical context. The default...
1.2 MB  
Misc. Web Browser Tools  -  Windows Grep
Windows Grep is an advanced searh tool that improves the default Windows search function with reporting support. Although Windows and many other programs have file searching capabilities built-in, none can match the power and versatility of...
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Multimedia  -  RMCA Realtime MIDI Chord Arranger Pro
RMCA Pro is an auto-accompaniment software which offers all major features of a high quality MIDI keyboard. It comes with chord recognition, based auto arranger, style creator, LeadSheet editor, recording section, up to 16 fingered and 10...
1.54 MB  
Multimedia  -  Spectrum Analyzer pro 2015
This sophisticated piece of software turns your computer into a modern, State-of-The-Art spectrum analyzer giving you features that go far beyond the possibilities of any stand-alone hardware unit -VST Plugin support-Leq (m) movie calculator Leq...
22.61 MB  
Multimedia  -  Multi Level Meter Bridge 2015
PAS Multi Meter Bridge can be configured in a number of different ways, to accurately model the ballistics, responses and graphics of a wide range of standard peak programme meters. These meters currently include the following:IEC 268-10 Type I...
5.22 MB  
Multimedia  -  DTMF Tone Decoder 2015
Why use an audio spectrum analyzer? For those of you that have done video installations, would you install a camera and lens without a monitor to see what you are doing? Why would you do an audio installation without seeing what you are doing? The...
4.09 MB  
Multimedia  -  Frequency Generator 2014
NEW in this version Oscilloscope srcoller and accelerator Efects like Peak and Splitt Oscilloscope kinds like Con. Lines, Dots, Mir Lines, Spikes, Vert. Lines Analyse the real time input in the Oscilloscope Now you can record the generated Tones...
2.01 MB