#!/usr/bin/gnuplot reset set output "graf.eps" set term postscript eps 14 #set output "graf.fig" #set term fig set function style lines set size 1.0, 1.0 set origin 0.0, 0.0 set multiplot set grid xtics ytics x2tics y2tics mxtics mytics # -------------------------- # Graf PSV set title "" # scales the displayed size of the plot set size 0.5,0.5 set origin 0.0,0.0 set xlabel "d [mm]" set ylabel "PSV" #Y = A*x^2 + B*x + C #A = 0.378181 #B = -1.4985 #C = 0.00179659 A = 258.2222434 B = -2899.936213 C = 8143.446857 r = 0.123353857 f(x) = A*x*x + B*x + C set arrow from 5.69376,1 to 5.69376,6 nohead set arrow from 5.53663,1 to 5.53663,6 nohead show arrow plot [:5.75] [1:6] \ "1.dat" using ($1):(f($1)) notitle with lines 1, \ "1.dat" using 1:2 notitle with points 2 #"1.dat" using 1:2 smooth csplines notitle with lines 1, \ # -------------------------- # Graf frekvencie set title "" # scales the displayed size of the plot set size 0.5,0.5 set origin 0.5,0.0 set xlabel "d [mm]" set ylabel "f [MHz]" plot [] [] \ "1.dat" using 1:3 smooth sbezier notitle with lines 1, \ "1.dat" using 1:3 notitle with points 2 # vim: ft=gnuplot