Editor's Note: This file was selected as MATLAB Central Pick of the Week
A tabbed figure class to support navigating large data sets with many figures. The class currently supports a tabbed figure with each tab containing multiple plots, tables, and control panels that can be selected using the plot selection list. An example showing some of the features is included.
Requires GUI Layout Toolbox:
https://www.mathworks.com/matlabcentral/fileexchange/47982-gui-layout-toolbox
In order to export to powerPoint Slides, the following toolbox must be installed:
exportToPPTX: https://www.mathworks.com/matlabcentral/fileexchange/40277-exporttopptx?s_tid=srchtitle
Curtis (2021). tfigure (https://github.com/curtisma/MATLAB_tfigure), GitHub. Retrieved .
Inspired by: exportToPPTX, GUI Layout Toolbox
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Error while running tFigExample.m
Error using axes
Too many output arguments.
Error in tfigure/addPlot (line 430)
ha = axes(h.UserData.hp);%,...'Units','pixels',...
Error in tFigExample (line 18)
h.addPlot('Normal');
This is because this submission now requires a new version of MATLAB. The syntax given below requires a new version.
You can update your MATLAB version or substitute get(hs,'plotList') to get it to work on previous versions.
Can't run the tFigExample or create any tFigure at all....
>> h = tFigExample
Struct contents reference from a non-struct array object.
Error in tfigure/addPanel (line 271)
plotList = hs.plotList;
Error in tfigure/addPlot (line 346)
h = obj.addPanel(p.Results.title);
Error in tFigExample (line 17)
h.addPlot('Normal');
Can't get example to run in 2018a. Any thoughts?
tFigExample
Dot indexing is not supported for variables of this type.
Error in tfigure/addPanel (line 271)
plotList = hs.plotList;
Error in tfigure/addPlot (line 346)
h = obj.addPanel(p.Results.title);
Error in tFigExample (line 17)
h.addPlot('Normal');
Bapt:
Can you update to R2014b or newer? There were updates to the graphics capabilities and other items in that release. I think even if you fix the fact that it can't find that superclass you'll run into other issues with the older release.
-Curtis
Hi Curtis,
do you know what could be causing this error [knowing that MatLab finds the folder and there is no parse error in your function.] :
Error using tfigure
>> tfigure
Error using tfigure
The specified super-class 'matlab.mixin.SetGet' contains a parse error or cannot be found on MATLAB's search path,
possibly shadowed by another file with the same name.
[I have R2011b on linux (openSUSE) with dual monitors.]