Crates.io | parallel-gnuplot |
lib.rs | parallel-gnuplot |
version | 0.2.2 |
source | src |
created_at | 2017-12-22 12:16:43.387729 |
updated_at | 2018-07-17 13:58:18.438464 |
description | Parallel calls to GNUPlot. Calls the same GNUPlot script once for each data file block. |
homepage | https://github.com/kirch7/parallel-gnuplot/blob/master/README.md |
repository | https://github.com/kirch7/parallel-gnuplot |
max_upload_size | |
id | 44023 |
size | 20,791 |
Parallel calls to GNUPlot.
Calls the same GNUPlot
script once for each data file block.
Please, note GNUPlot
has copyrights,
and parallel-gnuplot
is not a modified version of GNUPlot
.
parallel-gnuplot
sets some GNUPlot
variables:
parallel-gnuplot -d datafilename0 -d datafilename1 [-d ...] -g gpfilename
or
program_outputing_data | parallel-gnuplot -g gpfilename
or
cargo run --release -- -d datafilename0 -d datafilename1 [-d ...] -g gpfilename
Use flag -h
for more help.
data.txt:
# block 0:
0 0
1 1
2 2
3 3
4 4
# block 1:
0 0
1 2
2 4
3 6
4 8
script.gp:
set terminal png size 800,600
set encoding utf8
set xrange [0:4]
set yrange [0:8]
set key left top
set output sprintf("%d", INDEX).'.png'
plot DATAFILE0 with lp lw 2 pt 7 ps 3 title sprintf("Block %d", INDEX)
You can call:
parallel-gnuplot -d data.txt --g script.gp
or
cargo run --release -- -d data.txt -g script.gp
or something like
cat data.txt | parallel-gnuplot -g script.gp