image buffer help!

Blitz3D Forums/Blitz3D Beginners Area/image buffer help!

can someone show me how to draw to the imagebuffer?

image% = createimage(...)

setbuffer imagebuffer( image% )

plot x,y

setbuffer backbuffer()

and this is the example in the manual.