FigureExplorer

Convenience class for operations on java based, hg2 figures

You are now following this Submission

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 (2026). FigureExplorer (https://in.mathworks.com/matlabcentral/fileexchange/124361-figureexplorer), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with R2016b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0