From: Alan W. I. <ir...@be...> - 2002-07-12 18:59:37
|
Thanks, Vince! Without those checkin's I got a change to grey (but not black) background. With those checkin's the problem was solved (i.e. black background at last!) Here is the cookbook that results in a black background now: wish % source pldefaults.tcl % load libplplotd.so Plplotter % package provide Plplotter 5.1.0 % source runAllDemos.tcl N.B. it is essential that source pldefaults.tcl occurs first in this sequence. Otherwise, I get the beige background. From my previous tests the command pldefaults is just not defined at the time you execute it in plplot.tcl so I changed that (locally) to source pldefaults.tcl. However, that gives the beige background result (without any error messages), and in fact source pldefaults.tcl interactively on the wish command line as above no longer works if you make that change to plplot.tcl. So invoking source pldefaults.tcl from plplot.tcl seems to be equivalent to invoking it on the wish command line above after the load and with the same beige result. So far, the only thing that works is to have the source before the load with no source pldefaults.tcl afterward (on the command line or in plplot.tcl). So I suggest you look carefully at the order in which source pldefaults.tcl is invoked for plserver, and copy that for the present case (assuming it works for you as well.) Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ On Fri, 12 Jul 2002, Vince Darley wrote: > I've checked in those changes, since they are clear fixes. We do need to > work out how to ensure pldefaults is called on your machine, but that > shouldn't be too hard. > > -- Vince > > <http://www.santafe.edu/~vince> > > > > |