This has to do with which PGPLOT module you have loaded -- Karl kindly put it into one version (.20, I think) but I believe he backed it out when TJP was completely unresponsive and RGB images were not integrated into the pgplot mainstream.
I suppose we could patch Karl's module again, but I would, frankly, rather see support for something GPL'ed (or equivalent). The Caltech license for PGPLOT is not Free, so (for example) it is hard to get support for it in the various Linix distros, and the -cd patches cannot be distributed together with PGPLOT itself. I haven't checked TJP's website in a few months, so it's possible that something has changed -- but I doubt it. (Mobile) On Oct 28, 2009, at 6:46 PM, Chris Marshall <[email protected]> wrote: > I've build the pgplot5.2 library with the pgplot-5.2.2-cd3 > patch but when I run demo cartography I still get grayscale > maps. This is the test sequence in perldl, any ideas what > I'm doing wrong here: > > perldl> use PDL::Graphics::PGPLOT::Window > > perldl> $im = sequence(24,16) > > perldl> $im3 = $im(:,:,*3) > > perldl> ?vars > PDL variables in package main:: > > Name Type Dimension Flow State Mem > ---------------------------------------------------------------- > $im Double D [24,16] P 3.00Kb > $im3 Double D [24,16,3] -C 0.00Kb > > perldl> $win = pgwin() > Graphics device/type (? to see list, default /NULL): /xw > > perldl> $win->rgbi($im3) > PGPLOT rgbi called, but RGB support is not present. Using > grayscale instead. > Displaying 24 x 16 image from 0 to 1149, using 84 colors (16-99)... > > Suggestions appreciated. > > Thanks in advance, > Chris > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
