From: Sergei N. <vo...@ra...> - 2015-01-13 13:13:51
|
> 13.01.2015, 17:09:55 пользователь Sergei Naumov (vo...@ra...) написал: > > > > 13.01.2015, 16:50:49 пользователь Arjen Markus (Arj...@de...) написал: > > > Hi Sergei, > > The purpose of plend() (called in setup_plot_drawable()) is to close off the Plplot library, so that it can free all the resources. It should only be called if you are done with plotting. > > What happens if you move the call to the end of the main program? > > (Sorry, can’t try this myself as I do not have a GTK environment ready) > > I kind of understand it. That's why the first thing I did was to move it to the end of main(). The screen is black, nothing is drawn. May be there is something in plend() that also dumps the picture into a PIXMAP and I can call it directly? -- Sergei |