From 61b7eff596b641e2fd53543b5a8aa6ceedac0de8 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Thu, 22 Jul 2010 19:52:28 -0700 Subject: [PATCH] comment --- feedGnuplot.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/feedGnuplot.pl b/feedGnuplot.pl index 07e408f..3a37060 100755 --- a/feedGnuplot.pl +++ b/feedGnuplot.pl @@ -486,6 +486,10 @@ sub plotStoredData sub newCurve { + # I optionally pass in the title of this plot and any additional options separately. The title + # COULD be a part of $opts, but this raises an issue in the no-title case. When no title is + # specified, gnuplot will still add a legend entry with an unhelpful '-' label. I can still grep + # $opts to see if a title is given, but that's a bit ugly in its own way... my ($title, $opts, $newpoint, $idx) = @_; if(scalar @curves >= $options{maxcurves})