Well, if there's enough popular demand I could certainly bring the -cd  
patches up to date (there have been a few more) and we could get  
Karl's module working right - the real question is whether the output  
is enough better from PGPLOT.  I've certainly been using PGPLOT for a  
long time, but I tend to draw over the cheesy Hershey font labels  
before publication.  When Derek was still a graduate student he  
produced some absolutely phenomenal publication-ready output from  
Plplot, but I am increasingly shamed that I haven't yet learned how to  
do that.



On Oct 28, 2009, at 7:29 PM, Chris Marshall wrote:

> Craig DeForest wrote:
>> 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.
>
> No hits from:
>
>  grep -i rgb PGPLOT-2.19/* PGPLOT-2.20/*
>
> so I guess I'm out of luck.
>
>> 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.
>
> That was the origin of my hope to move PLplot to "most favoured 2D"
> status since PGPLOT did not have RGB support.  Then a number of  
> replies
> about how they liked PGPLOT output better than PLplot made me decide
> to try to get RGB working again.  Maybe the folks who like PGPLOT  
> don't
> need RGB support or already have it and are grandfathered in... :-)
>
>> I haven't checked TJP's website in a few months, so it's possible  
>> that something has changed -- but I doubt it.
>
> None that I've seen, either.  Thanks for the response.
>
> --Chris
>
>> 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

Reply via email to