Gnuplot 不完整的数字

Gnuplot incomplete numbers

我尝试使用以下命令使调色板编号更大:“set tics font”, 30,这里是我的代码:

set style lines 100 lt 5 lw 0.5  
set xlabel "x" font ",25" offset 0,-2
set ylabel "y" font ",25" offset -8,0
set tics font ", 30"
set xrange [0:25]
set yrange [0:4]
set samples 500
set isosamples 500

unset grid 
unset key  
set view map

f(x,y) = x**2 + y**2

splot f(x,y) with pm3d

但是左边的数字不完整:

我该如何解决这个问题?

提前致谢

通过使用 rmargin,您可以更改右侧的边距大小,at screen 0.82 表示在绘图最右侧的 82% 处 window .

将其添加到您的脚本中,

set style lines 100 lt 5 lw 0.5  
set xlabel "x" font ",25" offset 0,-2
set ylabel "y" font ",25" offset -8,0
set tics font ", 30"
set xrange [0:25]
set yrange [0:4]
set samples 500
set isosamples 500

set rmargin at screen 0.82
set lmargin at screen 0.13

unset grid 
unset key  
set view map

f(x,y) = x**2 + y**2

splot f(x,y) with pm3d

我得到了这个情节