Hi Torquil, as Alan I can also reproduce this behaviour. I scanned through the code, but it needs some time to find out what's going on. Anyway, a workaround for this problem is, that you set the common plplot options not via plsetopt(), but via plplot commands directly. E.g. if you set the geometry option actually plspage (xdpi, ydpi, xwid, ywid, xoff, yoff); is called. so -geometry 400x300 would ne plspage(0,0,400,300,0,0);. Have a look at src/plargs.c for other options. If you need to set more than one driver options you can call e.g plsetopt( "drvopt", "8bit,smoothlines"). Therefore you should be able to circumvent this problem you mentioned.
HTH, Werner On 03.02.2008, at 21:48, Torquil Macdonald Sørensen wrote: > Hello, I have found that the order in which I call plsetopt() > matters. Using > plsetopt("drvopt","8bit") before plsetopt("geometry","800x600") > makes PLplot > forget about the 8bit option and use 24bit instead (I use the png > driver). I > have checked the png-files using pnginfoto determine if they are > 8bit or > 24bit. Setting "geometry" before "8bit" works fine. On the command > line it > works either way. > > Best regards, > Torquil Sørensen > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Plplot-general mailing list > Plplot-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-general -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general