Re: [Plplot-devel] [PATCH] Support arbitrary storage of 2D user data

2010-02-16 Thread Alan W. Irwin
On 2010-02-15 14:10-0500 Hazen Babcock wrote: David MacMahon wrote: Adds support for arbitrary storage of 2D user data. This is very similar to the technique employed by some existing functions (e.g. plfcont and plfshade) that use evaluator functions to access 2D user data that is stored in

Re: [Plplot-devel] [PATCH] Support arbitrary storage of 2D user data

2010-02-16 Thread Arjen Markus
On 2010-02-16 09:07, Alan W. Irwin wrote: On 2010-02-15 14:10-0500 Hazen Babcock wrote: David MacMahon wrote: Adds support for arbitrary storage of 2D user data. This is very similar to the technique employed by some existing functions (e.g. plfcont and plfshade) that use evaluator

Re: [Plplot-devel] [PATCH] Support arbitrary storage of 2D user data

2010-02-16 Thread Doug Hunt
Hi Alan, all: Would this change require re-writing the perl interface to the 2D functions? Would this be required right away, or would there be backwards compatible variants left around to ease the transition? It might be useful to know which demos are affected by this. Thanks, Doug Hunt

Re: [Plplot-devel] [PATCH] Support arbitrary storage of 2D user data

2010-02-16 Thread Alan W. Irwin
On 2010-02-16 08:53-0700 Doug Hunt wrote: Hi Alan, all: Would this change require re-writing the perl interface to the 2D functions? Eventually. Would this be required right away, or would there be backwards compatible variants left around to ease the transition? No and yes. It might

Re: [Plplot-devel] [PATCH] Support arbitrary storage of 2D user data

2010-02-16 Thread David MacMahon
Hi, Alan, On Feb 16, 2010, at 0:07 , Alan W. Irwin wrote: Dave, I thank you for your implementation work. It takes courage to be the first to implement something that is going to be thoroughly (I hope) reviewed by others, and I thank you for that courage! At the risk of sounding like a

Re: [Plplot-devel] [PATCH] Support arbitrary storage of 2D user data

2010-02-16 Thread David MacMahon
On Feb 16, 2010, at 9:24 , Alan W. Irwin wrote: From the description, it sounds like the current 2D array API has been reimplemented as a wrapper for the Dave's new 2D array API. So just testing the normal examples with the current 2D array API should indirectly exercise the new API.

Re: [Plplot-devel] [PATCH] Support arbitrary storage of 2D user data

2010-02-16 Thread Alan W. Irwin
On 2010-02-16 11:53-0800 David MacMahon wrote: However, I strongly second Arjen's plea to at least convert one example (example 16?) to using the new 2D array API directly so that all the issues of porting it to the various languages (including perl/PDL) can be worked out. Since the

[Plplot-devel] [PATCH] Use plf2ops functions in examples/c/x08c.c

2010-02-16 Thread David MacMahon
Changes x08c.c to demonstrate use of new support for arbitrary storage of 2D data arrays. Shows how to do surface plots with the following four types of 2D data arrays: 1) PLFLT z[nx][ny]; 2) PLfGrid2 z; 3) PLFLT z[nx*ny]; /* row major order */ 4) PLFLT z[nx*ny]; /* column major order */ ---