# set terminal pngcairo background "#ffffff" enhanced font "arial,9" fontscale 1.0 size 610, 320 # set output 'linkedaxes.1.png' set format y "%5.1fe" set format x2 "%.1f Å" set key outside right top vertical Left noreverse enhanced autotitles nobox set offsets 0, 0, 1, 0 set encoding utf8 set style data lines set xtics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0 autojustify set x2tics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0 autojustify set x2tics 0.1 norangelimit set title " Anomalous scattering factors " set xlabel "X-ray energy in eV" set x2label "X-ray wavelength in Å" set xrange [ 9000.00 : 14400.0 ] noreverse nowriteback set link x2 via 12398./x inverse 12398./x set x2range [ 1.37756 : 0.860972 ] noreverse nowriteback set bmargin 5 set tmargin 6 Brdata = "< GET http://www.bmsc.washington.edu/scatter/data/Br.dat" Tadata = "< GET http://www.bmsc.washington.edu/scatter/data/Ta.dat" plot Brdata volatile using 1:3 title 'Br f"' lt 1 lw 3, '' volatile using 1:2 title "Br f'" lt 1 lw 1, Tadata volatile using 1:3 title 'Ta f"' lt 2 lw 3, '' volatile using 1:2 title "Ta f'" lt 2 lw 1