|
From: Galebonwe R. <gra...@go...> - 2010-08-31 09:16:00
|
greetings,
I'm trying to produce png plots from and ascii meteogram file. I have
acquired a perl (meteo_plot.pl) program that reads the ascii file and
supposed to also create .gp script to plot the output in png format.
However I get the following error message in line two of the .gp
script.I use gnuplot version 4, patch level 0. I have also attached the
perl program and the .gp script for your inspection.
[hrmoper@cluster d00_meteogram]$ meteo_plot.pl M_SSKA20100831 -e t2m,ps
-o sska.png
SSKA: Tu 31.08.2010 00 UTC 2 variables
gnuplot> set terminal png small size 600, 900 enhanced
^
"meteo_plot32045.gp", line 2: expecting: {small, medium,
large},[no]transparent, or {monochrome, gray, color, [xRRGGBB] }
Error 256 executing gnuplot meteo_plot32045.gp
Thanks.
|
|
From: Galebonwe R. <gra...@go...> - 2010-08-31 10:34:49
Attachments:
meteo_plot32045.gp
|
So ryy I forgot to attach the files.
> greetings,
>
> I'm trying to produce png plots from and ascii meteogram file. I have
> acquired a perl (meteo_plot.pl) program that reads the ascii file and
> supposed to also create .gp script to plot the output in png format.
>
> However I get the following error message in line two of the .gp
> script.I use gnuplot version 4, patch level 0. I have also attached the
> perl program and the .gp script for your inspection.
>
>
> [hrmoper@cluster d00_meteogram]$ meteo_plot.pl M_SSKA20100831 -e t2m,ps
> -o sska.png
> SSKA: Tu 31.08.2010 00 UTC 2 variables
>
> gnuplot> set terminal png small size 600, 900 enhanced
> ^
> "meteo_plot32045.gp", line 2: expecting: {small, medium,
> large},[no]transparent, or {monochrome, gray, color, [xRRGGBB] }
>
> Error 256 executing gnuplot meteo_plot32045.gp
>
> Thanks.
>
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-08-31 17:56:33
|
On 31.08.2010 10:55, Galebonwe Ramaphane wrote:
> I use gnuplot version 4, patch level 0.
No such version. The actual version numbers look like this:
Version 4.0, patchlevel 0
> gnuplot> set terminal png small size 600, 900 enhanced
> ^
> "meteo_plot32045.gp", line 2: expecting: {small, medium,
> large},[no]transparent, or {monochrome, gray, color, [xRRGGBB] }
Your gnuplot executable doesn't have the right set of terminals for the
tool you're using to drive gnuplot. You'll need to adapt your external
tool or rebuild a current gnuplot with the required terminal drivers.
|
|
From: Galebonwe R. <GRa...@go...> - 2010-09-01 06:36:07
|
Thanks Hans,
Actually you are right it is ;
[hrmoper@cluster ~]$ gnuplot --version
gnuplot 4.0 patchlevel 0
I also noticed from the help menu that I need libgd to create png images. I tried installation of libgd, but I still get the same errors.
PNG images are created using libgd, with optional support for TrueType
and Adobe Type 1 fonts via libfreetype. Version 1.8 or greater of libgd
is required.
I however have a small conversion script, from postscript to png, which works perfectly. For the time bieng I will create my images in postscript and convert to png. But I would have liked to create the images directly to png.
Thanks.
Galebonwe Ramaphane
Department of Meteorological Services
P.O. BOX 10100
Gaborone
Botswana
Tel: +267 3612200
Mobile: +267 74435261
-----Original Message-----
From: Hans-Bernhard Bröker [mailto:HBB...@t-...]
Sent: Tuesday, August 31, 2010 7:56 PM
To: Galebonwe Ramaphane
Cc: gnu...@li...
Subject: [BULK] Re: [Gnuplot-info] png plot error.
Importance: Low
On 31.08.2010 10:55, Galebonwe Ramaphane wrote:
> I use gnuplot version 4, patch level 0.
No such version. The actual version numbers look like this:
Version 4.0, patchlevel 0
> gnuplot> set terminal png small size 600, 900 enhanced
> ^
> "meteo_plot32045.gp", line 2: expecting: {small, medium,
> large},[no]transparent, or {monochrome, gray, color, [xRRGGBB] }
Your gnuplot executable doesn't have the right set of terminals for the
tool you're using to drive gnuplot. You'll need to adapt your external
tool or rebuild a current gnuplot with the required terminal drivers.
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-09-01 17:38:29
|
On 01.09.2010 08:35, Galebonwe Ramaphane wrote: > [hrmoper@cluster ~]$ gnuplot --version > gnuplot 4.0 patchlevel 0 That version of gnuplot is ancient. It's about 6,5 years old. You really should consider to update to a more recent version. > I also noticed from the help menu that I need libgd to create png > images. I tried installation of libgd, but I still get the same errors. That means your installation of libgd didn't work as planned. Was that a binary package made by your distributor, or did you build it yourself? |
|
From: Galebonwe R. <GRa...@go...> - 2010-09-02 06:44:55
|
Thanks. That means your installation of libgd didn't work as planned. Was that a binary package made by your distributor, or did you build it yourself? I installed a package made by the distributor (gd-2.0.35.tar.gz). Regards. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-09-02 16:47:26
|
On 02.09.2010 08:31, Galebonwe Ramaphane wrote: > * I installed a package made by the distributor ( ** gd-2.0.35.tar.gz) .tar.gz for distribution package? Feels unlikely. So what did the libgd related messages from ./configure look like? Is there, by any chance, a "development" package accompanying that binary package, and that you didn't install? |