Code covered by the BSD License  

Highlights from
expandAxes

4.8

4.8 | 5 ratings Rate this file 7 Downloads (last 30 days) File Size: 2.62 KB File ID: #18291
image thumbnail

expandAxes

by Brett Shoelson

 

10 Jan 2008 (Updated 21 Jun 2010)

Sets all axes in the handle list to expand in a new figure on buttondown.

| Watch this File

File Information
Description

FUNCTION EXPANDAXES(HNDLS)

Allows you to click on any axes (or child thereof) in the list of input handles. Left-clicking will popup a new window in the position of the original, filled with the single axes and all its children. Clicking on that figure closes the popup window. (Right-clicking restores non-expanding status to the axis.)

SYNTAX:
expandAxes
     Sets the current axes to expand on buttondown.
  
expandAxes(hndls)
     Sets all axes in the input list of handles to expand on buttondown.

NOTE: This function modifies the BUTTONDOWNFCN of axes in the input list, and their children. However, it will not modify any object whose buttondownfcn is nonempty.
 
MOTIVATION:
In real estate, there's a saying: "Location, location, location." In computer graphics, the saying is (or ought to be): "Real estate, real estate, real estate." This function allows you to show a lot more plots, graphics, etc. in a single figure without sacrificing the ability to see larger versions of same.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
11 Jan 2008 Olivier B.

Simple but very usefull when managing lot of subplots !

11 Jan 2008 Bob Rooney

Perfect! Thanks alot.

15 Jan 2008 John D'Errico

A creative way to turn a whole mess of plots into thumbnail images. Then you can click on only the ones you want to see to bring them up.

27 May 2008 Sergey Karpov

Thank u!

14 Feb 2011 Adi

Great gizmo.
Justa little remark. For those still using old Matlab 7.0 R14 I found that " @isempty " needs to be changes to " 'isempty' " in order to work. Good job, thanks.

18 Feb 2011 Brett Shoelson

Thanks, Adi. For users of older versions of MATLAB, please note the single quotes around 'isempty' in Adi's comments.

Please login to add a comment or rating.
Updates
04 May 2010

added copyright

21 Jun 2010

updated license text file to The MathWorks, Inc.

21 Jun 2010

Updated M file and license text file copyright to The MathWorks, Inc.

Tag Activity for this File
Tag Applied By Date/Time
grow axes popup figure real estate Brett Shoelson 22 Oct 2008 09:42:32

Contact us at files@mathworks.com