#!/usr/bin/gnuplot reset set output "graf3.eps" set term postscript eps 14 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 # -------------------------- # Mod 1 -- vykon + frekvencia set title "Trieda kmitania n = 6" set size 0.5,0.5 set origin 0.0,0.5 set xlabel "U [V]" set ylabel "" rescale_1(x) = 10 * (x - 9441) / (9568 - 9441) pol_1(x) = 5.24/2 plot [14:22] [0:10] \ "1.dat" using 1:2 smooth sbezier notitle with lines 1, \ "1.dat" using 1:2 notitle with points 2, \ "1.dat" using 1:(rescale_1($4)) smooth sbezier notitle with lines 1, \ "1.dat" using 1:(rescale_1($4)) notitle with points 2, \ pol_1(x) notitle with lines 1 # -------------------------- # Mod 2 -- vykon + frekvencia set title "Trieda kmitania n = 5" set size 0.5,0.5 set origin 0.5,0.5 set xlabel "U [V]" set ylabel "" rescale_2(x) = 10 * (x - 9461) / (9567 - 9461) pol_2(x) = 9.1/2 plot [26:38] [0:10] \ "1.dat" using 1:2 smooth sbezier notitle with lines 1, \ "1.dat" using 1:2 notitle with points 2, \ "1.dat" using 1:(rescale_2($4)) smooth sbezier notitle with lines 1, \ "1.dat" using 1:(rescale_2($4)) notitle with points 2, \ pol_2(x) notitle with lines 1 # -------------------------- # Mod 3 -- vykon + frekvencia set title "Trieda kmitania n = 4" set size 0.5,0.5 set origin 0.0,0.0 set xlabel "U [V]" set ylabel "" rescale_3(x) = 20 * (x - 9461) / (9532 - 9461) pol_3(x) = 16.4/2 plot [46:60] [0:20] \ "1.dat" using 1:2 smooth sbezier notitle with lines 1, \ "1.dat" using 1:2 notitle with points 2, \ "1.dat" using 1:(rescale_3($4)) smooth sbezier notitle with lines 1, \ "1.dat" using 1:(rescale_3($4)) notitle with points 2, \ pol_3(x) notitle with lines 1 # -------------------------- # Mod 4 -- vykon + frekvencia set title "Trieda kmitania n = 3" set size 0.5,0.5 set origin 0.5,0.0 set xlabel "U [V]" set ylabel "" rescale_4(x) = 20 * (x - 9480) / (9520 - 9480) pol_4(x) = 19.8/2 plot [78:92] [0:20] \ "1.dat" using 1:2 smooth sbezier notitle with lines 1, \ "1.dat" using 1:2 notitle with points 2, \ "1.dat" using 1:(rescale_4($4)) smooth sbezier notitle with lines 1, \ "1.dat" using 1:(rescale_4($4)) notitle with points 2, \ pol_4(x) notitle with lines 1 # vim: ft=gnuplot