18 lines
335 B
Gnuplot
Executable File
18 lines
335 B
Gnuplot
Executable File
# 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'
|