SUBPLOT_GRID is a class with which a set of subplots can be created in a space-optimal way. In addition, a figure title and subtitle may be added, as well as specific row and column titles.
Subplots may be merged like normal, and can be zoomed in via a simple mouse click or method. Zooming in more than 1 subplot is also possible by linking the zooming action of multiple axes.
The INTERAXES function provides the possibility to show the clicked on data point in an axes, and to shows its values in the title.
The methods LEGEND and COLORBAR ensure a correct handling on zooming and resizing.
Available methods:
FIGTITLE - Adds a figure title
SUBFIGTITLE - Adds a subtitle
COLTITLES - Adds column titles
ROWTITLES - Adds row titles
SET_GCA - set a subplot as current axes
DISABLE_SUBPLOTZOOM - Disable subplot zoom
ENABLE_SUBPLOTZOOM - Enable subplot zoom
HIDE_AXES - Hides axes
SHOW_AXES - Shows a hidden axes
ENABLE_INTERAXES - Enable the interaxes functionality in which the axes data becomes clickable
DISABLE_INTERAXES - Disables the interaxes functionality
OVERWRITE_INTERAXES_SELECTION_MODS - Overwrites the default selection modifications
HIDE_EMPTY_AXES - Hides all empty axes
LEGEND - creates a predefined legend
RELOCATE_LEGEND - re-locates the legend
REMOVE_LEGEND - Removes legend(s)
X_SYNC_AXES - Sync x axes to master axes
COLORBAR - creates a colorbar to an axes
run 'subplot_grid' for a demo.
The syntax of every method can be found by 'help subplot_grid.<method>' |