Fabio,

For animations or drawing, I believe the only thing that will give you what
you need is a GUI app. For that, you should check out GTK+, wxWidgets, or
Prima. The first two have Perl bindings but can be a headache to install.
The third is cross-platform and is distributed on CPAN, so if you have the
X11 development libraries installed, it should Just Work.

Bonus for using Prima: I'll be releasing a plotting library for it in the
coming month. :-D

David

On Mon, Jan 23, 2012 at 3:38 AM, Fabio D'Alfonso <
[email protected]> wrote:

>  Hi,
> thanks for you tip.
>
> I would really be able to write on screen, showing the pencil progress, so
> this is probably not the way I would. I am starting to ignore for a while
> the graphics as pdl brings some interesting feature to perl apart of it.
> As I wrote before, these technologies PGPLOT and somehow PlPlot are quite
> good for paper production where e m c (in E=MC^2)  are more than three
> letters.  They satisfy the need to illustrate concepts important for
> themselves.
> In a more ordinary use of scientific software, the interaction in already
> a must have. PGPLOT has many years; probably at that time was a quite
> advanced solution, but meanwhile many things changed.
> I have not the skill to make something, but I think is the real area to
> recover.
>
>
>
> Fabio D'Alfonso
> 'Enabling Business Through IT'
> cell.  +39.348.059.40.22 ***
> web: www.fabiodalfonso.com
> email: [email protected]
> linkedin: 
> www.linkedin.com/in/fabiodalfonso<http://it.linkedin.com/in/fabiodalfonso>
> twitter: 
> www.twitter.com/#!/fabio_dalfonso<http://www.twitter.com/#%21/fabio_dalfonso>
>
> fax: +39.06.874.599.581
> BlackBerry® Wireless Enabled Address.
>  ** Hidden  numbers are automatically rejected by the phone*
>
> On 1/23/2012 2:32 AM, David Mertens wrote:
>
> Hey Fabio -
>
> There are differences between how the different plotting libraries handle
> various plotting commands. At one point, a developer had hoped to reconcile
> this with a single interface, but he ran out of steam before anything
> actually developed. I think that would have been PDL::Graphics2D, but my
> memory is fuzzy, and it doesn't much matter because it never happened.
>
> If you want to load a color background and plot to it using plplot, see
> these slides: http://www.slideshare.net/dcmertens/p-lplot-talk and click
> through to the section entitled "Using the mem Device". It starts at 32
> minutes into the talk and runs for about two minutes. Unless zentara has
> put it into a chapter, this is the best documentation on how to use the mem
> device with PLplot, which can achieve exactly what you're looking for.
>
> David
>
> On Sun, Jan 22, 2012 at 3:53 PM, Fabio D'Alfonso <
> [email protected]> wrote:
>
>>  Hi,
>> I am finding a bit peculiar that graphics command are bounded to
>> technologies.
>> PlPlot has the xyplot while PGPLOT has commands like imag.
>> The result is that what is suitable to be shown on one is not for the
>> other as the vectorization acts differently.  I think that missing the
>> ability to show color backgrounds can be a little outdated.
>> I am probably missing something.
>> How could I load a color background on plplot and then write on it?
>>
>> I am grateful to all developing PDL. I only think that B/W  today is
>> about using the Nokia 6110.
>>
>>  Fabio D'Alfonso
>> 'Enabling Business Through IT'
>>  cell.  +39.348.059.40.22 ***
>> web: www.fabiodalfonso.com
>> email: [email protected]
>> linkedin: 
>> www.linkedin.com/in/fabiodalfonso<http://it.linkedin.com/in/fabiodalfonso>
>> twitter: 
>> www.twitter.com/#!/fabio_dalfonso<http://www.twitter.com/#%21/fabio_dalfonso>
>>
>> fax: +39.06.874.599.581
>> BlackBerry® Wireless Enabled Address.
>>  ** Hidden  numbers are automatically rejected by the phone*
>>
>> On 1/22/2012 10:31 PM, Tim Haines wrote:
>>
>> Fabio,
>>
>> I have heard about a version of PGPLOT that implements rgbi(), but, as
>> Matt also mentioned, I have never found it either. For programmatically
>> manipulating images, I found ImageMagick (
>> http://www.imagemagick.org/script/index.php) and its Perl bindings
>> PerlMagick to be both powerful and exceptionally simple to use. Due to
>> PDL's reliance upon PGPLOT as its primary graphics library, I only use it
>> to manipulate greyscale images. However, I do believe that is all about to
>> change in PDL 4.10 with the addition of PLPLOT and Prima. However, I shall
>> let others who are much more familiar with those extensions describe their
>> utility.
>>
>> Thanks.
>>
>> - Tim
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Matthew Kenworthy <[email protected]>
>> To: [email protected]
>> Cc: "[email protected]" <[email protected]>
>> Date: Sun, 22 Jan 2012 21:07:06 +0100
>> Subject: Re: [Perldl] PGPLOT rgbi called, but RGB support is not present.
>> Using grayscale instead.
>> Hi Fabio,
>>
>>  I encountered this problem before, and there's some version of PGPLOT
>> floating out there that does implement it, but I never seem to find it
>> again... I *think* Karl Glazebrook got one version of it working some time
>> ago, but my memory's rusty on the matter.
>>
>>  Matt
>>
>>
>> ---------- Forwarded message ----------
>> From: Fabio D'Alfonso <[email protected]>
>> To: "[email protected]" <[email protected]>
>> Cc:
>> Date: Sun, 22 Jan 2012 19:31:44 +0100
>> Subject: [Perldl] PGPLOT rgbi called, but RGB support is not present.
>> Using grayscale instead.
>> Hi,
>> I get this message trying to display a jpg image.
>> I found several results on Google about this but I wound understand the
>> current state of the thing.
>>
>> I got this using rim. Is there a solution or a workaround?
>>
>> Thansk
>>
>> --
>>
>> Fabio D'Alfonso
>> 'Enabling Business Through IT'
>> cell.  +39.348.059.40.22 ***
>> web: www.fabiodalfonso.com <http://www.fabiodalfonso.com/
>> >
>> email: [email protected]
>> <mailto:[email protected]>linkedin:
>> www.linkedin.com/in/fabiodalfonso <
>> http://it.linkedin.com/in/fabiodalfonso>
>> twitter: 
>> www.twitter.com/#!/fabio_dalfonso<http://www.twitter.com/#%21/fabio_dalfonso><
>> http://www.twitter.com/#%21/fabio_dalfonso>
>>
>> fax: +39.06.874.599.581
>> BlackBerry® Wireless Enabled Address.
>>
>>
>>         ** Hidden  numbers are automatically rejected by the phone*
>>
>>
>> _______________________________________________
>> Perldl mailing list
>> [email protected]
>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>>
>>
>
>
> --
> Sent via my carrier pigeon.
>
>


-- 
Sent via my carrier pigeon.
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to