set term pdf fontscale 0.75 size 6in,3in outfile = 'beta.pdf' set output outfile print outfile set multiplot set origin 0.,0. set size 1.,0.45 set xlabel "z-position (m)" set xrange [0:755] set yrange [0:40] set ytics 0,10 set ylabel '{/Symbol b}_x [m]' plot "twissparam.dat" u ($3):($4) i 0:0 w l not "beta x" set size 1.,0.4 unset xlabel unset xtics set xtics ("" 0, "" 100, "" 200, "" 300, "" 400, "" 500, "" 600, "" 700) set origin 0.,0.37 set ylabel '{/Symbol b}_y [m]' plot "twissparam.dat" u ($3):($7) i 0:0 w l not "beta y" #plot "twissparam.dat" u ($3):($6) w l t "eta x" unset multiplot outfile = 'beta_ext.pdf' set output outfile print outfile unset multiplot set key at graph 0.2,0.9 set autoscale x set ylabel '{/Symbol b} [m]' set xlabel 'z [m]' set xtics 0,10 plot "twissparam.dat" u ($3):($4) i 1:1 w l t "{/Symbol b}_x",'' u ($3):($8) i 1:1 w l t "{/Symbol b}_y"