Hi Alan,

On 2010-12-17 08:28, Alan W. Irwin wrote:

> In all cases the drive letter form works, but I didn't want to
> complicate our C code to transform the leading slash form to drive
> letter form for the Windows case.  So I have worked around this issue
> (revision 11374) by using a sed script (sed is available for MSYS) to
> transform absolute path names to the drive-letter form.  The result
> works on MinGW/MSYS/wine for the first time!
> 
> Here are the diff summary results on that platform.
> 
> tcl
>   Missing examples            :  33
>   Differing postscript output :  04 17 18 24 26 29
>   Missing stdout              :
>   Differing stdout            :
> 
> 
> The 33, 04, 18, and 26 differences also occur on Linux and I presume
> they are all due to the remaining plstring, plstring3, and pllegend
> propagation issues to the Tcl examples (and possibly propagation
> issues to the Tcl bindings for pllegend).
> 
> That leaves the differences for examples 17, 24, and 29 that occur
> on 32-bit wine, but not 64-bit Linux to investigate.
> 
> diff reveals many example 17 differences between Tcl and C, but I
> cannot see any visual differences in the final results viewed
> with gv.
> 
> diff reveals only ~30 or so lines of example 24 differences between Tcl and
> C, but there are obvious visual differences (extra characters in the Tcl
> version) in the results viewed with gv.
> 

I think the issue has to do with the character encodings. Tcl internally
works with UTF-8 and on Windows the system encoding is cp1252 (at least
on my machine). I have been experimenting with different encodings but
no success yet. I guess I first have to understand _exactly_ what is
going on before I can solve it.

I do not see differences with examples 17 and 29 on plain Windows,
though.

> 
> In sum, probably example 17 and 24 need some more work on Tcl for
> 32-bit Windows platforms (and possibly 32-bit Linux platforms) while a
> change of all examples 29 to shift the discontinuties slightly from
> the exact centre of the plot will probably solve that (32-bit Tcl?)
> issue.  Aside from these rendering issues it looks like everything
> works at least on my wine version of the Windows platform, and that
> good result needs confirmation on a Microsoft version of the Windows
> platform as well.

Example 17's differences are a bit puzzling. I have no clue yet.
I can reproduce differences with example 29, so that is easier.

As for my test results with F77 example 9: it turns out that on the
DLL side the array "tr" as stored in COMMON block /plplot/ is completely
zero. That means the transformed coordinates are (0,0) for all points.
The question _why_ it turns out to be zero is intriguing, but likely
a nasty problem with data in DLLs on Windows. I know a workaround for
this (an extra subroutine to fill the array), but I want to check that
this is indeed the cause first.

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.





------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to