Using MATLAB plot/figure window in PTB?

Hi, all. Is there a simple way of displaying the output of a MATLAB
plot inside of PTB?

As part of an experiment, I'd like to plot some behavioral data as
feedback, but I'd prefer to let MATLAB generate the plot instead of
recoding it myself.

I'd hoped that I could use the getFrame() function in matlab to grab
the figure window's image, then use that image inside PTB.
Unfortunately, creating the figure window creates problems with focus,
and getFrame brings the figure into the foreground before capturing
the image, so even if I didn't have focus problems with the first
figure command, I'd have them here.

Any thoughts?

Thanks!
Todd