On Sep 20, 2007, at 3:56 AM, Arjen Markus wrote:

> Jerry wrote:
>
>> It seems to me that the arrays in x03c.c, x, y, x0, y0, are   
>> incorrectly dimensioned as x[361] etc. When I make the Ada arrays   
>> vary from 0 to 361, extraneous lines are plotted, but when I make   
>> them go from 0 to 360, the output looks OK. I don't know if this  
>> will  cause the generated Postscript files to vary between C and Ada.
>>
>>
> No, the indices go from 0 to 360 inclusive, so that is 360+1 = 361  
> elements.
> (C starts indices at zero)
>
> Regards,
>
> Arjen
>
But the arrays are defined as x[361] and thus have 362 elements.

Jerry


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to