RI-P1/script/plot_datafile.gp

18 lines
335 B
Plaintext
Raw Normal View History

2020-10-29 12:33:50 +01:00
# 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'