How to 1) have one legent 2) make the first graph higher 3) plot secont data in first graph 4) have one x-axes - lower graph 5) minimalize space between graphs 6) have the same width of graphs
Thank you
set multiplot layout 2,1
set tmargin 1.8
set bmargin 1.8
set encoding iso_8859_1
unset xlabel
set ylabel "{/:Italic F} [a. u.]" font "Segoe UI,12"
set ytics nomirror font "Segoe UI,12"
set xtics nomirror font "Segoe UI,12"
#set decimalsign ','
set format y "%.2f"
set key at graph 0.78,1 font "Segoe UI,12"
set key out horiz font "Segoe UI,12"
set key tc variable
plot [4272:4500] [0.7:1.02] 'data1.txt' using 1:2 title "F" with lines linecolor rgb "red" lw 1.5, "data2.txt' using 1:3 title "D" with lines linecolor rgb "black" lw 1.5
set xlabel "{/:Italic {/Symbol l}} ({\305})" font "Segoe UI,12"
set ylabel "{/:Italic F} [a. u.]" font "Segoe UI,12"
set ytics nomirror font "Segoe UI,12"
set xtics nomirror font "Segoe UI,12"
#set decimalsign ','
set format y "%.2f"
set key at graph 0.78,1 font "Segoe UI,12"
set key out horiz font "Segoe UI,12"
set key tc variable
plot [4272:4500] 'data1.txt' using 1:4 title "DD - fitted" with lines linecolor rgb "navy" lw 1.5
error:
plot 'data1.txt' using 1:2 title "Fid" with lines linecolor rgb "red" lw 1.5,"data1.txt' using 1:3 title "Measured" with lines linecolor rgb "bla
ck" lw 1.5"
^
unexpected or unrecognized token

"data1.txt"(double-quotes) or'data1.txt'(single-quotes).