sending plot output to a bitmap widget

Hi,

Is there a way to get the output of a plot (the bitmap) and assign it to a bitmap object such as wxBitmap or wxImage?

I know how to do this by saving the figure and loading it to wxBitmap. But there must be a way to do it directly. Does anyone know how to do this?

thanks in advance,

fiocruz4.jpg
Flávio Codeço Coelho, PhD

Programa de Computação Científica

Fundação Oswaldo Cruz

Rio de Janeiro – Brasil

···