Code covered by the BSD License  

Highlights from
Import Fig File to Axes

4.5

4.5 | 10 ratings Rate this file 30 Downloads (last 30 days) File Size: 1.45 KB File ID: #3939
image thumbnail

Import Fig File to Axes

by

 

05 Sep 2003 (Updated )

Import fig file to axes

| Watch this File

File Information
Description

% IMPORTFIG(Figfilename,Axes) opens a fig file and places the
% contents into another axes such as on a subplot.
%
% Example
% h=subplot(3,2,1);
% importfig('plot1.fig',h);

Useful if you have lots as fig files and you want to view/tile them together.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (13)
08 Jul 2010 Nick Sinclair

Hope I'm not stepping on toes, linking to my script, but for those that want subplot support, I made something similar that montages currently open figures, and I just added a version today that will read figure files (though it's the same as last, but opens them invisible,reads,then closes them). It will replot subplots (just grabs all axes from each figure and excludes colorbars).

http://www.mathworks.com/matlabcentral/fileexchange/27713-montagefigures

I didn't look at this one until now, so it may be inferior, but I believe it does what it should. Hope some find it helpful.

22 Sep 2008 Dom Daniels

Useful in itself, but would be perfect if it could import subplot based figs to a new axes (ie redesign the axes)

17 Sep 2008 John Doe

Does exactly what it was supposed to!

26 Feb 2007 enver yaðcý

Thanks, that is what I needed

25 Oct 2006 EJK EJK

Exactly what I needed! Works perfectly

22 Aug 2006 Les King

Worked perfectly for me. Saved me a tonne of time.

20 Mar 2006 rand walk

good, but some warning happens

02 Mar 2006 Sergei K

Hmm... After restarting Matlab next day this function worked as intended. I'm not sure what caused that message anymore (Invalid uitoolbar property: 'Position'.)

01 Mar 2006 Sergei K

using example or any variations of it
% h=subplot(3,2,1);
% importfig('plot1.fig',h);
in Matlab r14(SP3) gives error:
??? Error using ==> set
Invalid uitoolbar property: 'Position'.

13 Dec 2005 cc ib

very useful

10 Aug 2004 Dan Vaughan

Nice script. Might want to enable copying of the legend from the old plot to the subplot

30 Jul 2004 Rafa Abella

It doesn't work well , if you want in a subplot a figure with subplot

25 Jan 2004 Jhonny Pepperonny

Very usefull!!!

Updates
04 Aug 2009

Copyright work.

Contact us