managing graphs



>Infact I'm using Xmaxima 5.9.3.

>Following Mario Rodriguez suggestions :

>plot2d(sin(x), [x, 0, 2*%pi], [gnuplot_preamble, "set terminal png;set out
>'myplot.png'"])$

>I obtained the png file, but the graph doesn't appear and Xmaxima chashes.
>Roman please, what do you mean saying " unlock the file with Unlocker "? Can
>you indicate me better what I have to do to show the graph?

I have been installed utility for deleting files - Unlocker. 
http://ccollomb.free.fr/unlocker

After installing, just click with right button on file graph.png and select option "unlocker"=>"unlock all"

Then kill process wgnuplot.exe(Ctrl+Alt+Del) and restart maxima.
This solution is not elegant, but works :)