On Wednesday 12 February 2003 11:43, Christophe TROESTLER wrote:
| Hi everybody,
| I am new to plplot. I want to make several plots in different
| windows and use streams to that aim (the only way to achieve my goal
| it seems). However, when the two windows are open, the older one
| (the one which stream is not active) is not refreshed properly when
| given focus (some sample code is attached). Is there a way to do
You are talking of the xwin driver, right? The tk driver doesn't have=20
such problem. If you don't like the menus in the tk driver just hit the=20
"m" keyboard key to toogle the menus on/off.
As for the xwin driver, I have solved that problem in my sources using=20
threads. The threads approach solve the problem for compiled languages,=20
but not for all interpreted languages, as the interpreter must have=20
been *linked* with -lpthread. My python's distribution was linked with=20
pthread, and works fine. Octave is not linked with pthread and fails,=20
you have to relink it with pthreads and then it works OK.
You have to wait a little more to see this improvement, as I don't want=20
to mess with plplot until the next release.
| P.S. BTW, the octave-plplot/README contains the following which does
| not seem to be accurate anymore:
Thanks, I will correct this.
| PLplot also has its disadvantages:
| It is not beeing maintained anymore, and you must use the
| last snapshot available before developpement ceased (plplot-961023
| plus a patch to this snapshot). This is a kind of walking in a sharp
| knife, but in my experience I found it bug free.