No BSD License  

Highlights from
extract_subplot_image

3.0

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

extract_subplot_image

by Chris Clayton

 

17 Jun 2006 (Updated 19 Jun 2006)

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 submission has inspired the following:
getfigdata v1.1
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
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

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data exploration Chris Clayton 22 Oct 2008 08:29:53
fig Chris Clayton 22 Oct 2008 08:29:53
file Chris Clayton 22 Oct 2008 08:29:53
cdata Chris Clayton 22 Oct 2008 08:29:53
get Chris Clayton 22 Oct 2008 08:29:53
copy Chris Clayton 22 Oct 2008 08:29:53
extract Chris Clayton 22 Oct 2008 08:29:53
image Chris Clayton 22 Oct 2008 08:29:53
subplot Chris Clayton 22 Oct 2008 08:29:53

Contact us at files@mathworks.com