From: Werner S. <sm...@ia...> - 2008-02-16 20:47:02
|
Hi Fons, I don't have any direct link for you, but I somehow remember that someone gave an example regarding your problem on the mailing list. You could search in the mailing list, maybe here: http://www.mail-archive.com/plp...@li.../ http://www.mail-archive.com/plp...@li.../ HTH, Werner Fons Adriaensen wrote: > Hello all, > > > I'm a complete newbie as regards Plplot and installed > it just a few hours ago (on a Linux system). Everything > compiled OK, the examples are working. > > Now I'm trying to find out how to use Plplot purely > as a plotting library in existing X11 apps. > > What I need is a function that will draw a 3D plot to > window or a pixmap using either the basic X11 backend > or Cairo, and nothing more. Setting up any resources > and calling the function at the right time is the > application's responsability. The drawing routing is > not expected to create the window, wait for X events > etc., and in fact must not do any of this. > > The examples are not of any help here as everything > is hidden, I guess in plinit(). The manual doesn't > touch on the subject except for the GTK canvas but > I'm not using GTK. > > Is there any documentation or example code to explain > or show what is required ? > > Many thanks. > -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |