On 2016-01-19 12:32-0000 Phil Rosenberg wrote:

> I'm perhaps less keen on the idea of using the minimum dimension.
> Passing unequal sized arrays is clearly and error and so I think we
> should flag it is such is the loudest way possible so the user can fix
> it. I think the times when I have often got this wrong are off by one
> cases and getting x and y the wrong way round in contour plots. In an
> off by one case if we just plot the data regardless then the user is
> quite likely to never notice - in fact if we are off by many (perhaps
> the user passes a filtered array in for x and an unfiltered array in
> for y) then the results may be absolutely incorrect but the user may
> be unaware.

Hi Phil:

You make good points above, and I have to admit I have never heard
user complaints about demanding exactly consistent array sizes for our
many language bindings that enforce that constraint. So I am now
leaning toward just continuing that model with Fortran although
this may come as a shock to our Fortran users.  (I think our old
binding did not have any dimension constraints at all.) However, I
can address that in the release notes where we are already listing
all the ways the new Fortran binding differs from the old one.

Anyone else want to weigh in here before I finalize this decision for
our Fortran binding?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to