From: Vince D. <vi...@sa...> - 2002-07-12 16:46:45
|
I don't see this problem. I can see two reasons: (i) the code is different (#ifdef) or behaves differently (Tk 'issues' perhaps) on the two platforms. (ii) you don't seem to be loading 'pldefaults.tcl' (since you got an error on that before), and that could account for the difference. To see if (ii) is true, try: wish % cd /location/of/pldefaults % source pldefaults.tcl % pldefaults then do what you did before (source runAllDemos.tcl, etc) If that doesn't resolve the problem, then it is, I believe, (i), but that is going to be very tricky to solve -- probably have to wait till one of the experts in Tcl/Tk _and_ unix takes the time to look into it. cheers, -- Vince <http://www.santafe.edu/~vince> On Fri, 12 Jul 2002, Alan W. Irwin wrote: > Vince, > > BTW since you made some changes during the night, I have rebuilt plplot from > scratch. However, everything works identically (as far as I can see) to > before including the background colour problem. > > When wish and plserver are first started a tiny GUI comes up that is > essentially completely blank and beige-coloured in my case. I think that in > both cases it is picking up the default GUI background colour from my KDE > environment. However, once you source runAllDemos.tcl, then the background > in the plotting area for plserver is black (just as in the standalone demos) > while for wish it continues to be beige. So somehow the plplot default > background of black is not overriding the wish default background of beige. > I can send you some ugly (;-)) screenshots of this, but probably the word > picture is enough. > > You may have the same thing, but may not recognize it if you are starting > with a default wish background of black. Start wish with some other default > background colour to see if plplot can override it. If you do get a change > in background colour from when wish starts to when you source > runAllDemos.tcl, then perhaps the #ifed windows version of the plplot code > is handling the background colour in a different way? > > 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 haven't noticed this problem, or at least haven't been able to run the > > demos under plserver anyway to know what they are supposed to look like! > > Therefore it is going to be very hard for me to track down any problem > > here without a lot more information... All my demos have a black > > background, I think. Are some supposed not to? > > > > This could potentially be a synchronisation issue between the widget's > > background colour: > > > > plframe .p > > .p cget -bg > > > > and the '0' colour used by plplot. But really I don't know > > > > To get further on this you need to describe to me a very simple example > > and what you expect to see and what you do see. > > > > -- Vince > > > > |