问题描述
我尝试使用以下方法使调色板编号更大:“ set tics font”,“ 30”,这是我的代码:
<iframe src="http://mysourceaddress:3000/d-solo/-J_QBsFMz/dash?orgId=1&panelId=8" width="450" height="200" frameborder="0"></iframe>
但是左侧的数字不完整:
我该如何解决?
预先感谢
解决方法
通过使用rmargin
,您可以更改右侧的边距大小,而at screen 0.82
意味着在绘图窗口最右边的82%处。
将其添加到脚本中,
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