Add gnuplot script
This commit is contained in:
parent
36f40597dd
commit
9006242fe8
|
@ -0,0 +1,17 @@
|
|||
# Variables
|
||||
FILEDATA = ARG1
|
||||
PREFIX = 'plot'
|
||||
EXTENSION = '.png'
|
||||
OUTPUT = PREFIX.FILEDATA.EXTENSION
|
||||
|
||||
# Parameters
|
||||
set terminal png size 500,500
|
||||
set title FILEDATA
|
||||
set xlabel 'word'
|
||||
set ylabel 'ocurrence'
|
||||
set multiplot
|
||||
|
||||
# Plotting
|
||||
plot FILEDATA using 1:xtic(2) lt rgb '#6E016B'
|
||||
set logscale
|
||||
plot FILEDATA using 1:xtic(2) lt rgb '#41AB5D'
|
Loading…
Reference in New Issue