in reply to generate a chart using the data
This code does not work as presented, the
should probably readwhile (<IN_LOG>) { push (@array,$_); } }
Try temporarily removing the $i/500 when using test data. To see what I mean, or set a suitable divisor print $i before division and see what sort of numbers are in each rangewhile (<IN_LOG>) { chomp; push (@array,$_); }
Though this does throw open the option of creating a suitable divisor on the basis of the max value of $i relative to display/paper size, saving a record, @{@records[$count]}=( $max, $min $pts) which could then scale the highest value of $pts back to an acceptable value on printing to your log file.
|
|---|