JAC ship a PGPLOT that we support. It includes the patches for  
Tk::Pgplot and I keep meaning to add the RGBI stuff from Craig.

  
http://starlink.jach.hawaii.edu/git/?p=starlink.git;a=tree;f=thirdparty/caltech/pgplot;h=5996a2dc1a65aacd08cc1bee1dc3f550a0cf5556;hb=HEAD

I also keep meaning to split it off from the main starlink tree and  
have it as a standalone git repository.

Tim

On Oct 28, 2009, at 3: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

-- 
Tim Jenness
Joint Astronomy Centre





_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to