[Graph-dev] unknown options using Chart::Graph::Gnuplot

David Moore dmoore@caida.org
Thu, 2 May 2002 10:18:57 -0700


On Thu, May 02, 2002 at 06:12:59PM +0100, Michael Masouras wrote:
> Hi,
> 
> I received the following warning while using this module:
> unknown option: extra_opts at
> /usr/local/lib/perl5/site_perl/5.6.0/Chart/Graph/Gnuplot.pm line 106
> unknown option: xdata at
> /usr/local/lib/perl5/site_perl/5.6.0/Chart/Graph/Gnuplot.pm line 106
> unknown option: format at
> /usr/local/lib/perl5/site_perl/5.6.0/Chart/Graph/Gnuplot.pm line 106
> unknown option: timefmt at
> /usr/local/lib/perl5/site_perl/5.6.0/Chart/Graph/Gnuplot.pm line 106
> unknown option: xrange at
> /usr/local/lib/perl5/site_perl/5.6.0/Chart/Graph/Gnuplot.pm line 106
> 
> I tried them first on my own code, but then I grabed the third example
> in http://search.cpan.org/doc/CAIDAPERL/Chart-Graph-2.0/Graph/Gnuplot.pm
> and run it. It produced the above.
> 
> I actually get gifs in the end but they just don't display correct
> values when I used the above options. Otherwise it works fine!

That's very strange.  It sounds like you have an older version of
Chart-Graph installed.  What's the $Id$ line from the top
of your /usr/local/lib/perl5/site_perl/5.6.0/Chart/Graph/Gnuplot.pm
file?

As a side note, some versions of gnuplot don't plot that 3rd graph
correctly, but that's a different problem from what you're seeing.

-- david