Re: [Plplot-devel] More alpha values

2008-01-18 Thread Andrew Ross
On Fri, Jan 18, 2008 at 03:06:44PM +, Andrew Ross wrote: > > To follow up my own response - it is not a fundamental libgd problem. I > have a simple test case (attached) which does what I would expect. To > compile this use "gcc test_alpha.c -lgd -o test_alpha". > > I can't currently see how

Re: [Plplot-devel] More alpha values

2008-01-18 Thread Andrew Ross
On Fri, Jan 18, 2008 at 09:44:43AM +, Andrew Ross wrote: > On Thu, Jan 17, 2008 at 07:20:29PM -0800, Alan Irwin wrote: > > On 2008-01-17 19:27- Andrew Ross wrote: > > > > >> [...]Andrew (Ross), do you confirm the above qualitative problem with > > >> the png > > >> result? > > > > > > Ala

Re: [Plplot-devel] More alpha values

2008-01-18 Thread Andrew Ross
On Thu, Jan 17, 2008 at 07:20:29PM -0800, Alan Irwin wrote: > On 2008-01-17 19:27- Andrew Ross wrote: > > >> [...]Andrew (Ross), do you confirm the above qualitative problem with the > >> png > >> result? > > > > Alan, I can confirm that I observe exactly the same behaviour with both > > debi

Re: [Plplot-devel] More alpha values

2008-01-17 Thread Alan W. Irwin
On 2008-01-17 19:27- Andrew Ross wrote: >> [...]Andrew (Ross), do you confirm the above qualitative problem with the png >> result? > > Alan, I can confirm that I observe exactly the same behaviour with both > debian oldstable and ubuntu gutsy (latest stable). >> [...]Anyhow, Andrew, the appa

Re: [Plplot-devel] More alpha values

2008-01-17 Thread Hazen Babcock
On Jan 17, 2008, at 2:37 AM, Alan W. Irwin wrote: > On 2008-01-16 22:47-0500 Hazen Babcock wrote: >> >> It looks like this driver scales alpha values in a different way >> than the >> cairo drivers. > > Hazen, could you comment the second page code of example 30? I am > having > trouble foll

Re: [Plplot-devel] More alpha values

2008-01-17 Thread Andrew Ross
On Wed, Jan 16, 2008 at 11:37:58PM -0800, Alan Irwin wrote: > > Hazen, could you comment the second page code of example 30? I am having > trouble following exactly what it is supposed to do. From the looks of your > pngcairo results, it appears your second page code imposes a large red > square

Re: [Plplot-devel] More alpha values

2008-01-16 Thread Alan W. Irwin
On 2008-01-16 22:47-0500 Hazen Babcock wrote: > On Jan 16, 2008, at 9:14 PM, Alan W. Irwin wrote: >> [...] OTOH, it is mostly just a big red blob with some minor transparency >> effects >> so perhaps something is not working quite correctly for the second page >> for >> the png device. [...] > >

Re: [Plplot-devel] More alpha values

2008-01-16 Thread Hazen Babcock
On Jan 16, 2008, at 9:14 PM, Alan W. Irwin wrote: On 2008-01-16 20:03-0500 Hazen Babcock wrote: I tried that, as you can see in the code in example 30, but it does not work for me. I can still see faint black lines separating the different colors. Does it work for you? I attach the resu

Re: [Plplot-devel] More alpha values

2008-01-16 Thread Alan W. Irwin
On 2008-01-16 20:03-0500 Hazen Babcock wrote: On Jan 16, 2008, at 1:51 AM, Alan W. Irwin wrote: On 2008-01-15 23:05-0500 Hazen Babcock wrote: [...] any ideas on how to get rid of the lines plshades is drawing between each contour level? I was hoping for a smooth gradient in alpha value but

Re: [Plplot-devel] More alpha values

2008-01-16 Thread Hazen Babcock
On Jan 16, 2008, at 1:51 AM, Alan W. Irwin wrote: > On 2008-01-15 23:05-0500 Hazen Babcock wrote: > >> [...] any ideas on how to get rid of the >> lines plshades is drawing between each contour level? I was hoping >> for a smooth gradient in alpha value but the effect is ruined >> somewhat by the

Re: [Plplot-devel] More alpha values

2008-01-15 Thread Alan W. Irwin
On 2008-01-15 23:05-0500 Hazen Babcock wrote: > [...] any ideas on how to get rid of the > lines plshades is drawing between each contour level? I was hoping > for a smooth gradient in alpha value but the effect is ruined > somewhat by these lines. See http://plplot.sourceforge.net/docbook-manual

[Plplot-devel] More alpha values

2008-01-15 Thread Hazen Babcock
Hello, I've added the functions necessary to manipulate the alpha values of color table 1. These are: plscmap1a(PLINT *, PLINT *, PLINT *, PLFLT *, PLINT); plscmap1la(PLBOOL, PLINT, PLFLT *, PLFLT *, PLFLT *, PLFLT *, PLFLT *, PLBOOL *); And I've expanded example 30 to demonstrate the use o