|
From: Edward H. <ph...@le...> - 2005-04-26 01:04:16
|
Hello,
I am currently writing a piece of software that will write data from
another application and automatically generate a script for gnuplot. I
have run into an obstacle concerning the encoding of file formats.
The errors I get are rather confusing as it appears that gnuplot is
unable to tell line from line. For instance :
set terminal png font '/mnt/win_c/WINNT/Fonts/verdana.ttf' 11
xffffff xclear; reset00 x000000 x000000
^
"work.plot", line 1: invalid color spec, must be xRRGGBB
Which looks nothing like the original script. Copying the contents of a
working script that I have into the file also gives errors. Because of
this I have concluded that my program is writing the script using the
wrong encoding which gnuplot can't read.
Is this consistent with the errors that I'm getting? What form of
encoding should I be using? I'm not entirely sure what I'm using at the
moment, just whatever OpenOffice Basic uses by default.
Does anyone else have experience with such issues when automating
creation of scripts?
Best wishes
Ed
|