diff --git a/driveGnuPlots.pl b/driveGnuPlots.pl index bfd7cc9..fbc4ba0 100755 --- a/driveGnuPlots.pl +++ b/driveGnuPlots.pl @@ -10,11 +10,6 @@ use Thread::Queue; autoflush STDOUT 1; -# list containing the plot data. Each element is a reference to a list, -# representing the data for one curve. The first "point" is a string of plot -# options -my @curves = (); - my $usage = < --[no]stream Do [not] display the data a point at a time, as it comes in @@ -77,6 +72,12 @@ if( defined $options{"help"} ) die($usage); } + +# list containing the plot data. Each element is a reference to a list, +# representing the data for one curve. The first "point" is a string of plot +# options +my @curves = (); + # now start the data acquisition and plotting threads my $dataQueue; my $xwindow;