]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
few more changes to hadplot from other version
authorJan Michel <jan@mueschelsoft.de>
Mon, 19 Jun 2017 15:40:51 +0000 (17:40 +0200)
committerJan Michel <jan@mueschelsoft.de>
Mon, 19 Jun 2017 15:40:51 +0000 (17:40 +0200)
tools/hadplot

index d37a0407cae4de765155bcca437f477f4752c41a..efd3fbb059c00d9a652bc8871a64ae5b6cb689c8 100755 (executable)
@@ -73,7 +73,7 @@ my $plotoption= ""; #string with additional gnuplot commands
 my $curveoption= []; #options for plot command
 my $xgrid     = 1;
 my $ygrid     = 1;
-my $ymax;
+my $ymax      = '.01<*';
 my $ymin;
 my $xmin;
 my $xmax;
@@ -107,10 +107,10 @@ GetOptions('d=f' => \$delay,
            'yticks!'      => \$yticks,
            'xgrid!'       => \$xgrid,
            'ygrid!'       => \$ygrid,
-           'ymax=i'       => \$ymax,
-           'ymin=i'       => \$ymin,
-           'xmax=i'       => \$xmax,
-           'xmin=i'       => \$xmin,           
+           'ymax=s'       => \$ymax,
+           'ymin=s'       => \$ymin,
+           'xmax=s'       => \$xmax,
+           'xmin=s'       => \$xmin,           
            'curvestyle=s' => \$curvestyle,
            'curveoption=s'=> $curveoption,
            'plotoption=s' => \$plotoption