I've been looking into this. This is what should be a relatively simple
job. There are some changes between Numeric and the new numpy though
which means I've implemented both in tandem.
If HAVE_NUMPY = ON then plplot will first check for the new numpy. If
this is not present it will fall back and use Numeric. Currently the
defauly is HAVE_NUMPY = OFF.
The reason I have not depreciated Numeric (yet) is that many people may
still be using it. I'm also not sure whether all distribution yet
contain numpy. At some stage I suggest we switch the default to numpy
rather Numeric.
All this works fine on my 32 bit Ubuntu Feisty system.
It does not work on my 64 bit Ubuntu Edgy system. There are 64 bit
issues with integers that mean examples 2, 18 and 24 don't work.
Examples 2 and 24 use plscmap0 which passes arrays of integers to
define colours. Example 18 uses plpoly3 which passes an array to mark
which polygon segments to draw.
I will try to get to the bottom of this once I figure out the precise
cause.
Andrew
On Tue, Jul 17, 2007 at 08:51:00AM -0700, SourceForge.net wrote:
> Support Requests item #1755542, was opened at 2007-07-17 17:51
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=202915&aid=1755542&group_id=2915
>
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: None
> Group: None
> Status: Open
> Priority: 5
> Private: No
> Submitted By: Santiago M. Mola (smolav)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: port to numpy
>
> Initial Comment:
> numeric and numarray are deprecated in favor of numpy.
>
> numeric is unmaintained for long time and now it's broken with amd64 and Python 2.5. So it will die in the distros in the near future (Gentoo Linux is on the way of removing it).
>
> In their site (http://numpy.scipy.org) they give some hints for porting.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=202915&aid=1755542&group_id=2915
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@...
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>
|