From da87a716c1b3a15ae760190f1a6e849068fd0619 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Thu, 6 Jan 2011 15:38:31 -0800 Subject: [PATCH] make sure that $options{curvestyleall} is always defined. This cleans up some things --- feedGnuplot.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feedGnuplot.pl b/feedGnuplot.pl index 7796a64..ee06e5c 100755 --- a/feedGnuplot.pl +++ b/feedGnuplot.pl @@ -180,11 +180,12 @@ if( $options{help} ) die($usage); } +$options{curvestyleall} = '' unless defined $options{curvestyleall}; + if($options{colormap}) { # colormap styles all curves with palette. Seems like there should be a way to do this with a # global setting, but I can't get that to work - $options{curvestyleall} = '' unless defined $options{curvestyleall}; $options{curvestyleall} .= ' palette'; }