Hi Alan,

wow, that is quite a set of changing. Yes, the examples were filled
with local definitions of parameters like PL_PARSE_FULL and so on.
Having them in a single include file will make it easier for our users.
I agree that a similar route be taken for Fortran 95, even though we
can rely on the module to convey the information.

I am currently translating example 33, which will also require an
interface to plcolorbar(), but I will not be able to finish it
of course before the foreseen changes to the API.

Meanwhile I can make a start with the Fortran 95 and Tcl bindings and
examples - a lot of the work is independent of the API changes.

Regards,

Arjen

On 2011-01-27 04:50, Alan W. Irwin wrote:
> Hi Arjen:
> 
> Recently (i.e., the series of revisions up to revision 11509) I have
> made the following changes to the f77 bindings and examples:
> 
> * I have taken your idea of having a central place to express
>   PLplot-related f77 parameters and expanded it.  Those parameters now
>   reside in bindings/f77/plplot_parameters.h.  I have made the
>   corresponding build-system adjustments so that file can be included
>   (either in the build tree or installed examples tree) by our f77
>   examples.  I have now included this file in all our f77 examples and
>   removed the type and parameter statements it replaces.  The hand-crafted
>   parameters defined in this file are sufficent to build the examples,
>   but I have plans to generate this file automatically, see below.
> 
> * I solved a bug in example 4 (wrong type for line_widths array).
> 
> * I solved a bug in example 26 (legend_text not handled correctly).
> 
> * I tweaked examples 4 and 26 to provide results that were consistent
>   with the corresponding C results.
> 
> * I finished up your plstring3 implementation so that now example 18
>   can call plstring3.
> 
> Here are the resulting diff test results for Fortran.
> 
> f77
>   Missing examples            :  33
>   Differing postscript output :  27
>   Missing stdout              :
>   Differing stdout            : f95
>   Missing examples            :  33
>   Differing postscript output :  04 18 26 27
>   Missing stdout              :
>   Differing stdout            :
> 
> That's quite an improvement in f77 which had differences for 04, 18, and
> 26 before.
> 
> There is more I have on my immediate Fortran agenda.  I plan to
> generate bindings/f77/plplot_parameters.h by sed processing of
> bindings/swig-support/plplotcapi.i on the principal that all PLplot
> constants #defined in that file should be accessible to our PLplot f77
> users.  Similarly, I think the parts of bindings/f95/sfstubsf95.f90
> that define parameters should be split out into
> bindings/f95/plplot_parameters.h so that file can be similarly
> generated. It would not be installed or used by anything but an
> include in bindings/f95/sfstubsf95.f90 since modules contain the
> required parameter information in the f95 case.  I also note lots of
> extraneous parameters defined individually in examples/f95/x*.f90
> which should not be there; instead, those should be defined via
> plplot.mod by bindings/f95/plplot_parameters.h.
> 
> Once those issues are straightened out, I hope you will be willing to
> continue with cleaning up the above Fortran diff test results.
> 
> 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); PLplot scientific plotting software
> package (plplot.org); 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
> __________________________
> 
 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.





------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to