how to use Graphics-Simple-0.04 > Graphics::Simple
how to use Graphics-Simple-0.04 > Graphics::Simple
am 18.06.2011 15:49:48 von eventual
--0-1785423463-1308404988=:74633
Content-Type: text/plain; charset=us-ascii
Hi,
After successfully installing
Tuomas J. Lukka > Graphics-Simple-0.04 > Graphics::Simple
I do not know how to use the module. I tried the simple script below but it wont work and produce error msgs. Can someone teach me how to use the module to produce simple graph.
Thanks
##### script below ######
#!/usr/bin/perl
use Graphics::Simple;
line 100,100,200,200;
--0-1785423463-1308404988=:74633--
Re: how to use Graphics-Simple-0.04 > Graphics::Simple
am 18.06.2011 19:25:44 von Jim Gibson
At 6:49 AM -0700 6/18/11, eventual wrote:
>Hi,
>After successfully installing
>Tuomas J. Lukka > Graphics-Simple-0.04 > Graphics::Simple
>I do not know how to use the module. I tried the simple script below
>but it wont work and produce error msgs. Can someone teach me how to
>use the module to produce simple graph.
>Thanks
>
>##### script below ######
>
>#!/usr/bin/perl
>use Graphics::Simple;
>line 100,100,200,200;
Graphics::Simple requires a graphics "backend" to render the graphics
commands you give it. Your options are GnomeCanvas, TkCanvas,
PostScript, and Fig. You can define the GSIMPL environment variable
to select one. I was able to define GSIMPL as 'PostScript', and the
sample program included in the documentation generated a postscript
file in the /tmp directory.
See 'perldoc Graphics::Simple' for details or look here:
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: how to use Graphics-Simple-0.04 > Graphics::Simple
am 05.07.2011 14:57:09 von eventual
--0-1156649140-1309870629=:33255
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,=0AWhere do=A0I download PostScript.=0AIs PostScript another programming=
language.=0AThanks
From: Jim Gibson =0ATo=
: eventual ; "beginners@perl.org"
org>=0ASent: Sunday, June 19, 2011 1:25 AM=0ASubject: Re: how to use Graphi=
cs-Simple-0.04 > Graphics::Simple
At 6:49 AM -0700 6/18/11, eventual w=
rote:=0A>Hi,=0A>After successfully installing=0A>Tuomas J. Lukka > Graphics=
-Simple-0.04 > Graphics::Simple=0A>I do not know how to use the module. I t=
ried the simple script below =0A>but it wont work and produce error msgs. C=
an someone teach me how to =0A>use the module to produce simple graph.=0A>T=
hanks=0A>=0A>##### script below ######=0A>=0A>#!/usr/bin/perl=0A>use Graphi=
cs::Simple;=0A>line 100,100,200,200;
=0AGraphics::Simple requires a gr=
aphics "backend" to render the graphics =0Acommands you give it. Your optio=
ns are GnomeCanvas, TkCanvas, =0APostScript, and Fig. You can define the GS=
IMPL environment variable =0Ato select one. I was able to define GSIMPL as =
'PostScript', and the =0Asample program included in the documentation gener=
ated a postscript =0Afile in the /tmp directory.
See 'perldoc Graphics=
::Simple' for details or look here:
phics-Simple-0.04/Simple.pm>
--0-1156649140-1309870629=:33255--
Re: how to use Graphics-Simple-0.04 > Graphics::Simple
am 05.07.2011 17:59:26 von Shawn Wilson
--001636284db078783d04a75491be
Content-Type: text/plain; charset=ISO-8859-1
On Jul 5, 2011 8:58 AM, "eventual" wrote:
>
> Hi,
> Where do I download PostScript.
> Is PostScript another programming language.
Platform? Google 'ghostscript'. IIRC, fig is installed by default on ubuntu
(though maybe I'm thinking of gs). Either way, if linux is your platform,
'apt-cache search' or 'yum search' should get you where you want to be.
--001636284db078783d04a75491be--