Cannot Open Large .fig files

Hello,
I am creating some very large (3.6MB) .fig files. The files are plotting 41,000 x 12,500 points using imagesc.
When I click to open the files, I get:
"Error using open (line 162) Cannot read file C:/file.fig"
I am using savefig to save the figure to my computer using R2014b
I tried using my program to create smaller .fig files by only changing the imagesc size. For example:
These size CAN be opened 41,000 x 500 gives me an 290kb .fig file 41,000 x 1000 can (437kb)
These size cannot be opened: 41,000 x 5,000 - 1,500kb .fig file 41,000 x 2,000 cannot (736kb)
I followed the openfig.m file and the error that is thrown comes from the localOpenFigure -> loadFigure
if ~reuse
h = loadFigure(filename, visibleAction);
else
and it looks like loadFigure is '.p' file?
Any ideas?

1 Comment

Just want to say that this was a computer memory resource problem - I didn't have enough memory on my computer.

Sign in to comment.

Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Asked:

Joe
on 9 Mar 2015

Commented:

Joe
on 11 Sep 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!