blob: 186a5d34803e40c91dfb184d10d9de234015317b [file] [log] [blame]
avm9996335418732022-04-29 16:46:26 +02001#!/usr/bin/env -S gnuplot -c
2outputfile = 'out/configuration' # Nom de la imatge resultant (sense extensió)
3datafile = 'out/configuration.conf' # Nom del fitxer de dades que es vol usar
avm999639622dc72022-04-29 15:44:05 +02004L=64
5symbsize=0.6
6
7set terminal cairolatex size 10cm, 7cm
8set output outputfile.'.tex'
9
10set size square
11set xrange [0.5:L+0.5]
12set yrange [0.5:L+0.5]
13plot datafile using 1:2 with points pt 5 ps symbsize t ""
14
15set terminal svg dashed size 600, 600 font "Computer Modern,Tinos,Helvetica,15"
16set output outputfile.'.svg'
17replot