I am attempting to write a perl script to allow users to plot functions using
gnuplot through a web page. It seems to work fine unless the function has any
additions in it. For example, "x+1" plots as just "x" and "x**2+x" won't plot at
all, in fact nothing with "+x" will plot.
The apache error
I am guessing that the problem has something to do with the fact that spaces in
the URL using the GET method are represented by addition symbols. I still
cannot find a way around this problem. However, I did try writing the gnuplot
commands to a temporary file and then haing gnuplot retrieve them
zentara highstream.net> writes:
> I think you need to look at HTML::Entities, but you
> havn't shown your code. You need to properly "decode"
> the get string.
Thanks for the tip; I'll check it out. The code is below.
<-- Begin perl script gnuplt_1.pl -->
#!/usr/bin/perl -w
# gnuplot_1.pl
#
zentara highstream.net> writes:
> Why don't you try writing the gnuplot output to a temporary file, and
> send that file, then delete it. That way you can get it to work for
> sure.
I still haven't figured out the problem with the plus symbols. However, I did
find a way around the problem by wri
hi
i have script which generates a set of xy coordinates.
how can i get the script to generate a gnuplot postscript file from theses
xy-pairs?
martin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Martin, et al --
...and then Martin A. Hansen said...
%
% hi
Hi!
%
% i have script which generates a set of xy coordinates.
%
% how can i get the script to generate a gnuplot postscript file from theses
% xy-pairs?
It's been a while since I've played with gnuplot, so I have no idea of
the a