File Exchange

image thumbnail

tfigure

version 4.1.1.1 (230 KB) by Curtis
A tabbed figure class to support navigating large data sets with many plots, tables, and controls.

11 Downloads

Updated 13 Oct 2018

GitHub view license on GitHub

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.

Cite As

Curtis (2019). tfigure (https://www.github.com/curtisma/MATLAB_tfigure), GitHub. Retrieved .

Comments and Ratings (8)

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');

Curtis

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

Bapt

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.]

tian shi

Updates

4.1.1.1

Updated Compatibility after testing it out on 2016a. Some features, such as support of uifigure, require even newer versions the core functionality is available in R2016a and newer

4.1.1.0

Minor update to fix some bugs. Started to develop the option to use uifigure instead of figure.

4.1.0.0

Added "addButton" method
This method allows a button with a callback to be added to the plot list.
Added a demo of the "addButton" method to the example
Updated the help documenation.

4.0.0.0

Updated entry example picture

4.0.0.0

Updated to use the Layout Toolbox
Uses the layout toolbox to handle the layout and automatic resizing
Added the ability to drag the plot list to adjust its width
Added "Add Label" selection to tab context menu

3.3.0.0

Added a "+" tab button to add a new tab
Updated Documentation
Made the method arguements more consistent across similar methods
Fixed some bugs
Added support for Java style tables

3.2.0.0

Updated Example

3.2.0.0

Updated the export menu to copy a panel to another figure, copy a panel to the clipboard, and fixed the functionality of the savePPT function.
Updated the delete context menu option.
Added get current tab (gct) and get current panel (gcp) properties

3.1.0.0

Updated Description

3.1.0.0

Changed name

3.1.0.0

Updated the plot container to use uipanels to hold each selection. This enables the use of subplot and simplifies the handling of axes, especially with regard to resizing

2.1.0.0

Added Support for tables and control items. I also fixed the reisizing function to handle single plot tabs and control items. THe export to ppt feature now needs to be updated. The example has been updated to show the new capabilities.

2.0.0.0

Version 2.0: Updated plot interface that no longer requires a plot function handle. It now behaves more similar to a native figure. See the updated example.

1.0.0.0

Changed description

MATLAB Release Compatibility
Created with R2017a
Compatible with R2016a to any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor