Hi Andrew, > > Further testing shows that the values being passed into the plplot > functions are being truncated to 12 d.p., despite having > "set tcl_precision 17" at the top of the procedure. > > Turns out I need set ::tcl_precision 17 to set the global variable. >
you should indeed use the global variable tcl_precision, if it is to have effect. I will look at the problem of returning data in the right precision. That should not be too hard. > With this change tcl example 29 now works correctly. > > So we now have a working example 29, however we (probably Arjen!) should > fix the code to use tcl_precision when returning values from plplot, and > not just assume 17. > Regards, Arjen 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. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel