4.57143

4.6 | 7 ratings Rate this file 13 downloads (last 30 days) File Size: 2.6 KB File ID: #2851

figcopy

by Dirk Tenne

 

12 Dec 2002 (Updated 16 Dec 2002)

No BSD License  

Copies one figure into another figure and lets theusers move and resize the copied figure.

Download Now | Watch this File

File Information
Description

Copies one figure into another figure and lets the users move and resize the copied figure. This utility is great if you need a figure in a figure and still would like to use MATLAB's export function.

h = FIGCOPY the user selects both figures by mouse clicks. Please follow the instructions in the command window. First activate the figure to be copied. Second activate the "master" figure and select the lower left and upper right corner, where the copied figure should appear in the "master" figure. Click on the copied figure to move or resize it. (Don't worry, the resize markers will not be printed!) h is the handle of the copied figure.

h = FIGCOPY(fc) fc specifies the figure number (handle) to be copied. The master figure is selected by mouse click.

h = FIGCOPY(fc,fm) specifies the figure number to be copied and the figure number of the master figure.

Acknowledgements
This submission has inspired the following:
figcopy
MATLAB release MATLAB 6.1 (R12.1)
Other requirements Runs great on Windows and UNIX. Tested with Matlab versions 5 and 6.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
16 Mar 2003 Lina Chang

Very useful when comparing various graphs scattered all over a large document.

25 Jan 2004 Dorival Pedroso

Excelente!!! Domo Arigato!

24 Feb 2004 J S

Excellent idea Dirk!!

27 Apr 2004 Clark Liu

Well done!

22 Jun 2005 ANDREA GIACOMINI  
28 Apr 2006 Kevin Chamness

When I use this function in Matlab R14SP3 on a figure with a legend, I get a new figure of the legend and not the actual plot axis.

27 Nov 2007 Dirk Tenne

The legend becomes a child of the new figure. Just move the legend and underneath you will see the copied axes.

01 Jun 2009 Nitika

Awesome! Works great! Thank you so much Dirk.

25 Jun 2009 Nitika  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data exploration Dirk Tenne 22 Oct 2008 06:55:04
figure to figure copy Dirk Tenne 22 Oct 2008 06:55:04
graphics Dirk Tenne 22 Oct 2008 06:55:04
exploration Dirk Tenne 22 Oct 2008 06:55:04
interaction Dirk Tenne 22 Oct 2008 06:55:04
graphical Dirk Tenne 22 Oct 2008 06:55:04
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com