mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-06 06:21:16 +08:00
make sure that $options{curvestyleall} is always defined. This cleans up some things
This commit is contained in:
parent
1abc70db2f
commit
da87a716c1
@ -180,11 +180,12 @@ if( $options{help} )
|
|||||||
die($usage);
|
die($usage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$options{curvestyleall} = '' unless defined $options{curvestyleall};
|
||||||
|
|
||||||
if($options{colormap})
|
if($options{colormap})
|
||||||
{
|
{
|
||||||
# colormap styles all curves with palette. Seems like there should be a way to do this with a
|
# 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
|
# global setting, but I can't get that to work
|
||||||
$options{curvestyleall} = '' unless defined $options{curvestyleall};
|
|
||||||
$options{curvestyleall} .= ' palette';
|
$options{curvestyleall} .= ' palette';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user