Lab::Moose::DataFile::Gnuplot::Compressed - Text based data file ('Gnuplot style'), auto-compressed
version 3.901
use Lab::Moose; my $folder = datafolder(); my $file = datafile( type => 'Gnuplot::Compressed', folder => $folder, filename => 'gnuplot-file.dat', columns => [qw/time voltage temp/] ); $file->log(time => 1, voltage => 2, temp => 3);
Supports the following attributes in addition to the Lab::Moose::DataFile::Gnuplot requirements:
compression
Compression type; defaults to 'Bzip2', which is also the only value that has been tested so far. The following values are possible:
None Gzip Bzip2 Lzf Xz
Note that (except for None) this requires the corresponding IO::Compress:: modules to be available; only Gzip and Bzip2 are part of core perl.
This datafile type does not support any plots.
This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
Copyright 2018 Andreas K. Huettel, Simon Reinhardt
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Lab::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Moose
CPAN shell
perl -MCPAN -e shell install Lab::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.