Gnuplot的多时隙模式下的屏幕尺寸

Say*_*yan 4 gnuplot

我有5个子图,其中只有四个显示.代码片段如下,因为原始代码很长; 我无法增加屏幕尺寸以适应第5个绘图,因此,只有前四个显示:

set output 'test.png'
set size 1.75,1.75
set terminal png font "/Library/Fonts/Times New Roman Bold.ttf, 10" size 1000,700   
set origin 0,0
set multiplot

#1st
set size 0.5,0.5
set origin 0,0.5
...
#2nd
set size 0.5,0.5
set origin 0,0
...
#3rd
set size 0.5,0.5
set origin 0.5,0
...
#4th
set size 0.5,0.5
set origin 0.5,0.5
...
#5th, and this one is not showing up
set size 0.5,0.5
set origin 1,0.5
...
Run Code Online (Sandbox Code Playgroud)

我哪里错了?

Wol*_*tan 6

您正在将第五个绘图的原点设置为1, 0.5.这让gnuplot将它绘制在窗口之外.
试试这个安排:

set size 1, 0.2

#first plot
set origin 0, 0.8
plot ...

#second plot
set origin 0, 0.6
plot ...

#third plot
set origin 0, 0.4
plot ...

#fourth plot
set origin 0, 0.2
plot ...

#fifth plot
set origin 0, 0.0
plot ...
Run Code Online (Sandbox Code Playgroud)

我没有对上述内容进行测试,但我希望你能够了解它背后的想法.
也许有关多色图的文档也很有帮助.