--xlen now MUST be used with --stream. There was no error before, but it still

didn't make any conceptual sense
This commit is contained in:
Dima Kogan 2011-02-06 15:34:46 -08:00
parent 76c0c7a93c
commit ce66c836f0

View File

@ -126,8 +126,9 @@ As an example, if line 3 of the input is "0 9 1 20"
--autolegend Use the curve IDs for the legend
--xlen xxx Set the size of the x-window to plot. Omit this or set it
to 0 to plot ALL the data. Does not make sense with 3d plots
--xlen xxx When using --stream, sets the size of the x-window to plot.
Omit this or set it to 0 to plot ALL the data. Does not
make sense with 3d plots
--xmin xxx Set the range for the x axis. These are ignored in a
streaming plot
@ -258,6 +259,12 @@ OEF
exit -1;
}
}
if(defined $options{xlen} && !defined $options{stream} )
{
print STDERR "--xlen does not make sense without --stream\n";
exit -1;
}
}
sub getGnuplotVersion