|
From: Joao C. <jc...@fe...> - 2002-01-10 17:28:15
|
On Tuesday 08 January 2002 3:58 am, Alan W. Irwin wrote:
> I have just finished the python front end example 9 according to my pla=
n of
> taking the union of all contour example pages. I would appreciate you
> having a look at this example, because if you would like to see some
> changes it is easier to change this protype now rather than changing
> everything later after I have programmed the equivalent for the rest of=
the
> front ends.
>
> For those who have not played with the python front-end to plplot, simp=
ly
> copy pythondemos.py to test.py, edit that file to remove all the exampl=
es
> except xw09, then
>
> ./test.py -dev psc - o test.ps; gv test.ps
Hi,
On Suse-7.2, with python-2.0, ./pythondemos.py, demo 9, with device xwin=20
gives the following error after the "polar contour plot" (plot #7).
Traceback (most recent call last):
File "./pythondemos.py", line 31, in ?
import xw09
File "/home/jcard/plplot-devel/tmp/xw09.py", line 277, in ?
main()
File "/home/jcard/plplot-devel/tmp/xw09.py", line 269, in main
potential()
File "/home/jcard/plplot-devel/tmp/xw09.py", line 117, in potential
clevelpos =3D compress(clevel > 0., clevel)
TypeError: Comparison of multiarray objects other than rank-0 arrays is n=
ot=20
implemented.
Also, on xw05, it fails with error
*** PLPLOT ERROR ***
plcol0: Please call plinit first, aborting operation
and lots of errors after that, ending with a seg. fault.
xw01, xw02, xw03 and xw04 runs OK.=20
I have not tried the other examples.
Joao
[jcard@feup] python
Python 2.0 (#1, May 16 2001, 00:02:45)=20
[GCC 2.95.3 20010315 (SuSE)] on linux2
|