No BSD License  

3.0

3.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 1.79 KB File ID: #11450
image thumbnail

extract_subplot_image

by

 

17 Jun 2006 (Updated )

Extract image data from saved fig file

| Watch this File

File Information
Description

A ".fig" file may have several images embedded within.
This function allows you to "find" the image data (findobj) and "get" the image data (cdata) from an open ".fig" file. If the original data is unavailable or if you want to make a QuickTime movie of 40 images in two ".fig" files (as I did), this is great! The screenshot shows 20 large images saved as a fig file but extracted into a nicely anotated QT movie (with 20 more images).

Acknowledgements

This file inspired Getfigdata V1.1.

MATLAB release MATLAB 7.2 (R2006a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
08 Jul 2009 Bernd

the function only threw error messages at me, but looking at the code, I foun what I needed so badly; the extraction of image data in a subplot

w=findobj(gcf,'Type','image');
ww=get(w,'cdata');

stores cdata of every image into a cell of ww

Contact us