Re: [Plplot-devel] cmap0.pal and cmap1.pal support

2009-07-08 Thread Maurice LeBrun
On Wednesday, July 8, 2009 at 11:23:23 (+0100) Andrew Ross writes: > 2) When I tried to create a .pal file I realised that the current file > format assumes that the position value is an integer in the range 0-100, > whereas plplot actually uses a PLFLT in the range 0-1. This might not > be sig

Re: [Plplot-devel] cmap0.pal and cmap1.pal support

2009-07-08 Thread Hazen Babcock
Andrew Ross wrote: > On Sun, Jul 05, 2009 at 09:15:24PM -0400, Hazen Babcock wrote: >> Hello, >> >> As of v10119 you can now specify the color table to use for color table >> 0 or color table 1 as a command line argument to PLplot. For example: >> >> ./x01c -cmap0 /path/to/cmap0a.pal -dev xcairo >

Re: [Plplot-devel] cmap0.pal and cmap1.pal support

2009-07-08 Thread Hazen Babcock
Andrew Ross wrote: > On Tue, Jul 07, 2009 at 11:06:40AM -0400, Hazen Babcock wrote: >> Any pointers for using this function? When I try: >> fp = (FILE *)plLibOpenPdfstrm(filename); >> >> instead of: >> fp = fopen(filename, "r"); >> >> I get a segmentation fault at my first attempt to read from the

Re: [Plplot-devel] style

2009-07-08 Thread Alan W. Irwin
On 2009-07-06 04:09+0300 Dmitri Gribenko wrote: > [...]astyle is much less strict that indent and it doesn't try to re-format > everything like indent does. Here's a script for it: > > #!/bin/bash > > exec astyle \ > --indent=spaces=2 \ > --brackets=linux \ > --indent-classes \ > --indent-swi

Re: [Plplot-devel] cmap0.pal and cmap1.pal support

2009-07-08 Thread Andrew Ross
On Tue, Jul 07, 2009 at 11:06:40AM -0400, Hazen Babcock wrote: > Alan W. Irwin wrote: > > On 2009-07-06 12:26-0400 Hazen Babcock wrote: > > > >> Hezekiah M. Carty wrote: > >>> On Sun, Jul 5, 2009 at 9:15 PM, Hazen Babcock wrote: > As of v10119 you can now specify the color table to use for co

Re: [Plplot-devel] cmap0.pal and cmap1.pal support

2009-07-08 Thread Andrew Ross
On Sun, Jul 05, 2009 at 09:15:24PM -0400, Hazen Babcock wrote: > > Hello, > > As of v10119 you can now specify the color table to use for color table > 0 or color table 1 as a command line argument to PLplot. For example: > > ./x01c -cmap0 /path/to/cmap0a.pal -dev xcairo > > Will load the cmap