FigureExplorer
Version 1.0.0 (9.39 KB) by
Collin Pecora
Convenience class for operations on java based, hg2 figures
Provides convience functions for java based, hg2 figures,
% Examples;
FigureExplorer(gcf).centerOnScreen();
FigureExplorer(gcf).ensureOnScreen();
FigureExplorer(gcf).ensureOnSingleScreen();
FigureExplorer(gcf).setSize(800,800);
FigureExplorer(gcf).setMinimumSize(800,800);
% add a panel to top, bottom, left or right side of figure
jPanel = FigureExplorer(gcf).add[Top,Bottom,Left,Right]Panel( height, javaComponent);
% add a toolstrip
hToolstrip = FigureExplorer(gcf).addToolstrip();
% retrieve the JFrame
jFrame = FigureExplorer(gcf).FigureFrame;
% set callback for java events
FigureExplorer(gcf).MouseMovedCallback = @(s,e) onMouseMoved(s,e);
% and much more
Cite As
Collin Pecora (2024). FigureExplorer (https://www.mathworks.com/matlabcentral/fileexchange/124361-figureexplorer), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |