diff --git a/script/plot_datafile.gp b/script/plot_datafile.gp new file mode 100755 index 0000000..87c7391 --- /dev/null +++ b/script/plot_datafile.gp @@ -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'