From: Vince D. <vi...@sa...> - 2002-07-12 16:55:02
|
Actually, looking more closely, this is probably due to a combination of things in plplot's tcl/tk interaction. First of all, both plframe.c and plplotter.c should have: Tk_SetClass("Plframe") not Tk_SetClass("plframe") and 'pldefaults.tcl' should replace: if {[winfo depth .] == 1} { option add *plwin.background white } else { option add *plwin.background black } with if {[winfo depth .] == 1} { option add *Plframe.background white } else { option add *Plframe.background black } and then, if you ensure pldefaults is called, you should get what you want. -- Vince <http://www.santafe.edu/~vince> |