Be the first to rate this file! 13 Downloads (last 30 days) File Size: 1.13 KB File ID: #33987
image thumbnail

Let me work, figure!

by

 

Fig replaces the built-in figure without stealing your focus. Setting properties is also available.

| Watch this File

File Information
Description

For everyone that needs to plot something in a long loop, and still wants to use the computer in meanwhile, without new figures stealing your keyboard focus and disrupting your work-flow, this file emulates the built-in figure command, but if the desired figure handle already exists, it will just set it as the current figure, without making it visible or on top of other windows.

It's the same as issuing a set(0,'CurrentFigure',h) command, but encapsulated using the same syntax as figure.

Usage:

fig(123);
fig(456, 'Name', 'Figure Title');
h = fig('Name', 'New figure');
fig(h, 'Name', 'New Name');

Acknowledgements

"Smart"/Silent Figure inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us