> On 2009-01-05 10:33+0100 Arjen Markus wrote:
>
>>
>> Example 20 is causing me a slight headache :(. I have checked just
>> about everything I could think of:
>> - All expressions are braced
>> - The file is read correctly - all values are identical to the
>>  values I see in the C example
>> - The PostScript file differs in the way the gray colour is
>>  determined, but I have not been able to determine why that
>>  would be the case. plscmap1n and plscmap1l are called with
>>  identical arguments.
>>
>> I will have to descent further into the library functions to
>> determine the cause.
>
> Hi Arjen:
>
> In sum, the results I get on my Linux Tcl-8.5 (64-bit) platform seem to
> confirm everything you have found on your Windows Tcl-8.5 platform
> including
> the good results you have now achieved for all examples other than 11 and
> 20.
> That sort of cross-platform confirmation is reassuring, and I hope it
> encourages you to go on to solve the issues for example 11 and 20.
>

Hi Alan,

the problem was almost literally blindingly obvious, but I had
to print out just about everything I could think of and then some.

The mistake was that I called plscmap1n in gray_cmap with the argument
num_col, instead of $num_col - so the name of the variable, instead
of its value.

With that corrected, I get a perfect match for example 20!

Now, there are still the strange deviations in example 11. I am not
sure how to proceed here - probably the same stubbornness as for
example 20 is required :).

But I am also thinking of how to implement example 19 - it should
not be that difficult.

Regards,

Arjen

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to