Graph 如何绘制上面的两张图?

Graph 如何绘制上面的两张图?,graph,gnuplot,Graph,Gnuplot,如何 1) 吃一顿饭 2) 使第一个图形更高 3) 在第一个图形中绘制secont数据 4) 有一个x轴-下部图形 5) 最小化图之间的空间 6) 具有相同的图形宽度 多谢各位 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 no

如何 1) 吃一顿饭 2) 使第一个图形更高 3) 在第一个图形中绘制secont数据 4) 有一个x轴-下部图形 5) 最小化图之间的空间 6) 具有相同的图形宽度

多谢各位

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 
错误:

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
像这样的

reset
set encoding utf8

set tics out nomirror

set style line 1 lc "red"
set style line 2 lc "orange"
set style line 3 lc "blue"

unset xtics
set  ytics
set  ylabel "y-axes"  #tc ls 1

set lmargin screen 0.10
set rmargin screen 0.95


set multiplot layout 2,1

set bmargin screen 0.40
set key Left reverse out horiz

set xrange [0:10]
set yrange [0:10] 

plot \
    x w l ls 1 t "x",\
    x + 5 w l ls 2 t "x + 5",\
    1/0 w l ls 3 t "1/0"

set tmargin screen 0.37
set bmargin screen 0.15

#set key left Left reverse
unset key

set tics out nomirror
set  xlabel "x-axes (λαβϵλ = label)"

plot x w l ls 3 t "x"
结果

非常感谢,请您知道产生错误的线条有什么问题吗?是否可以设置不同的y范围并将第二个图形的y-TIC放置在右侧?是的。在每个
plot
命令或
plot[:][:]
之前使用
set yrange
。要使用tic标记,请使用
unset ytics
set y2tics
set link y2
。如有必要,请更改
rmargin
unset ylabel
。如果此答案解决了您的问题,请不要忘记所回答的标记。请使用
“data1.txt”
(双引号)或
“data1.txt”
(单引号)。