Re: [Plplot-devel] Updates to examples

2008-12-15 Thread Alan W. Irwin
On 2008-12-15 20:12- Andrew Ross wrote: > Alan, > > Sounds like an excellent idea. I was thinking of something similar > myself. If you are happy to put something together I'll help with the > work of propagating it out to the other languages. Thanks for that encouragement. I made an initial

Re: [Plplot-devel] Updates to examples

2008-12-15 Thread Andrew Ross
On Mon, Dec 15, 2008 at 12:09:14PM -0800, Alan Irwin wrote: > On 2008-12-15 12:58- Andrew Ross wrote: > > > > >I've started on updating the examples to include some addition common > >API function not > >currently demonstrated or tested in the plplot examples. Already this > >has brought one

Re: [Plplot-devel] Updates to examples

2008-12-15 Thread Alan W. Irwin
On 2008-12-15 12:58- Andrew Ross wrote: > > I've started on updating the examples to include some addition common API > function not > currently demonstrated or tested in the plplot examples. Already this has > brought one > bug to light in plerrx / plerry. For now I am concentrating on the

Re: [Plplot-devel] Initial patch for the recently discovered xfig.c bug

2008-12-15 Thread Alan W. Irwin
On 2008-12-15 10:06- Andrew Ross wrote: > > Alan, > > There are also quite a few malloc / realloc calls which explicitly cast > the output as (short *) rather than (int *). To avoid any problems these > also need fixing. I've been through and checked this all. I think the > xfig driver is now

Re: [Plplot-devel] Example 2 and gif driver

2008-12-15 Thread Alan W. Irwin
On 2008-12-15 10:14- Andrew Ross wrote: > > Alan, > > I've checked and the problem with example 2 and the gif driver is that > gif's only support 256 colours. Turning on freetype fonts (with > anti-aliasing) and using a large numbers of colours in the example > quickly exhausts that, hence all

[Plplot-devel] Updates to examples

2008-12-15 Thread Andrew Ross
I've started on updating the examples to include some addition common API function not currently demonstrated or tested in the plplot examples. Already this has brought one bug to light in plerrx / plerry. For now I am concentrating on the C examples, so obviously the ctest compare test will fa

[Plplot-devel] Example 2 and gif driver

2008-12-15 Thread Andrew Ross
Alan, I've checked and the problem with example 2 and the gif driver is that gif's only support 256 colours. Turning on freetype fonts (with anti-aliasing) and using a large numbers of colours in the example quickly exhausts that, hence all the warnings. You do generate an image, but the colours

Re: [Plplot-devel] Initial patch for the recently discovered xfig.c bug

2008-12-15 Thread Andrew Ross
Alan, There are also quite a few malloc / realloc calls which explicitly cast the output as (short *) rather than (int *). To avoid any problems these also need fixing. I've been through and checked this all. I think the xfig driver is now ok. I've submitted your patches + my addition fixes to sv