MATLAB Answers

Saving paneled figure with uitable

1 view (last 30 days)
Daphne
Daphne on 12 Jul 2013
I am trying to save a figure in MATLAB 2012b with several panels, including plotted data and one uitable. When using the saveas function the uitable does not appear when saved as tif/jpg. For some reason it does appear when saved in fig format, but I really need the figure saved as a tif/jpg. Interestingly, when I use the drop down saveas on the figure itself the saved tif also shows the uitable.
Is there a way to use the saveas function with a tif and still have the uitable appear?.. Thanks!

  1 Comment

Jan
Jan on 12 Jul 2013
Please post the complete command you use for saving.

Sign in to comment.

Answers (1)

Jan
Jan on 12 Jul 2013
Did you try print instead? Or getframe and imwrite?

  1 Comment

Jan
Jan on 13 Jul 2013
Relocated comment from Daphne:
I had tried print and imwrite before and they also didn't work. imwrite actually saved a blank image.
The getframe combined with imwrite I didn't think of. That worked, thanks!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!