follow http://www.dur.ac.uk/physics.astrolab/ppgplot.html, I installed pgplot
with gfortran and ppgplot (ported to numpy), everything seems Ok. But when I
tried a simple test, it raise an unplesent warning:
DeprecationWarning: PyArray_As1D: use PyArray_AsCArray
Here is my test code:

import ppgplot
import numpy as np
x=np.arange(0,3,0.04)
y = x**2
ppgplot.pgbeg()
ppgplot.pgenv(0,4,0,10,0,0)
ppgplot.pgline(x,y)
ppgplot.pgend()

ps: I use Ubuntu 10.04, and python 2.6.5 without numarray package installed. And
ppgplot works well with Numeric 24.2

Could anyone help to fix this problem?

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to