diff --git a/scripts/analysis/analysesPlot.pl b/scripts/analysis/analysesPlot.pl index f4704b636c..a823b14b96 100755 --- a/scripts/analysis/analysesPlot.pl +++ b/scripts/analysis/analysesPlot.pl @@ -139,7 +139,7 @@ sub function1DPlot { my $nonZero; my $nonZeroTarget; my $nonZeroBoth; - if ( $attributes->{'yAxisIsLog'} || ($options{'excludeZeros'} && $options{'excludeZeros'} eq "no") ) { + if ( ! $attributes->{'yAxisIsLog'} || ($options{'excludeZeros'} && $options{'excludeZeros'} eq "no") ) { $nonZero = pdl sequence(nelem($data->{'yDataset'})); $nonZeroTarget = pdl sequence(nelem($data->{'yDataset'})); $nonZeroBoth = pdl sequence(nelem($data->{'yDataset'}));