Why can I not SAVE a figure with 4 or more subplots?

3 views (last 30 days)
Hello,
I recently ran into a bug in Matlab that when I try to save a figure containing 4 or more subplots I am unable to save the figure in any format (fig, png, jpeg, pdf, eps, etc).
I tried this using the saveas function, export_fig function, Export Setup, and directly clicking "Save As" from the File drop down menu in the figure.
The following error appears either in the command workspace or as a box from the Figure GUI: "Index exceeds matrix dimensions."
What dimensions? Everything plots correctly and there is no issue until I want to save the figure. No one else seems to ask this question and I am wondering if my personal Matlab is just acting buggy.
This error does not appear when I have 3 or less subplots. I have been able to successfully save those figures.
I am running Matlab 2013b on Windows 7 Professional. I am using a version provided by my university. I recently reactivated the license.
Please tell me if I need to give any additional information.
  1 Comment
Andreas Goser
Andreas Goser on 12 Feb 2015
I tried reproducing and also searched for known issues - both without success. Can you submit a web request for Technical Support providing your steps?

Sign in to comment.

Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!