Hi, I'm in the SWT environment using some deployed Matlab functions (there is a deploy tool in Matlab to transform Matlab functions into classe files).
On thing is to use the Matlab plot which opens in a AWT frame, all done by a Matlab library. I would like to reach the frame and get it's canvas in my SWT shell but I have no clue how to reach this frame. On the java site it looks like this:
plotter is the generated class and drawplot is the Matlab function.
On thing is to use the Matlab plot which opens in a AWT frame, all done by a Matlab library. I would like to reach the frame and get it's canvas in my SWT shell but I have no clue how to reach this frame. On the java site it looks like this:
Code:
/* Create new plotter object */
plotter thePlot = new plotter();
/* Plot data */
thePlot.drawplot(x, y);
thePlot.waitForFigures();