mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
y extents are optional
Ignore-this: 809894afece147f868685c0bbeaac9f5 darcs-hash:20090810200439-0cb85-a14ece790280871a4ff71949502d1c9ae0548232.gz
This commit is contained in:
parent
1d33ed48bb
commit
7a3ca33118
@ -14,7 +14,11 @@ my @curves = ();
|
||||
# point plotting by default
|
||||
my %options = ( "stream" => 1,
|
||||
"points" => 0,
|
||||
"lines" => 0,);
|
||||
"lines" => 0,
|
||||
"ymin" => "",
|
||||
"ymax" => "",
|
||||
"y2min" => "",
|
||||
"y2max" => "");
|
||||
GetOptions(\%options,
|
||||
"stream!",
|
||||
"lines!",
|
||||
@ -66,18 +70,6 @@ sub main {
|
||||
usage;
|
||||
return;
|
||||
}
|
||||
if( defined $options{"ymin"} && !defined $options{"ymax"} ||
|
||||
!defined $options{"ymin"} && defined $options{"ymax"} )
|
||||
{
|
||||
usage;
|
||||
die("Both or neither of ymin,ymax should be specified\n");
|
||||
}
|
||||
if( defined $options{"y2min"} && !defined $options{"y2max"} ||
|
||||
!defined $options{"y2min"} && defined $options{"y2max"} )
|
||||
{
|
||||
usage;
|
||||
die("Both or neither of y2min,y2max should be specified\n");
|
||||
}
|
||||
if( defined $options{"hardcopy"} && $options{"stream"} )
|
||||
{
|
||||
usage;
|
||||
|
Loading…
Reference in New Issue
Block a user