Gnuplot 我们如何设置刻度的宽度?

Gnuplot 我们如何设置刻度的宽度?,gnuplot,Gnuplot,在gnuplot中,我们可以设置刻度刻度,但这只影响刻度的长度。 如何更改刻度的宽度? 在XTIC或ytics的标签中,我没有看到任何选项可以设置适当的宽度。检查帮助边框。我的猜测是,tic宽度可能无法独立于边界设置。嗯,您可以使用多个具有不同边框和图案的图形。选中“帮助多点打印” 代码: ### set tic width reset session set border lw 3 set xtics scale 4 set ytics scale 1 plot x ### end of

在gnuplot中,我们可以设置刻度刻度,但这只影响刻度的长度。 如何更改刻度的宽度?
在XTIC或ytics的标签中,我没有看到任何选项可以设置适当的宽度。

检查
帮助边框
。我的猜测是,tic宽度可能无法独立于边界设置。嗯,您可以使用多个具有不同边框和图案的图形。选中“帮助多点打印”

代码:

### set tic width
reset session

set border lw 3
set xtics scale 4
set ytics scale 1

plot x
### end of code
结果:

### set tic width
reset session

set border lw 3
set xtics scale 4
set ytics scale 1

plot x
### end of code

正如theozh所说,TIC是使用“边框”线型绘制的。如果有必要,我想您可以关闭边框,将边框线型设置为您想要的tics,然后使用图形大小的矩形替换边框

set border lc "black" lw 0.25  # thin lines for the tics
set border 0                   # don't draw the normal border
set tics scale 3.0             # longer than usual tics
set obj 1 rectangle from graph 0,0 to graph 1,1
set obj 1 lc "black" lw 2.5    # heavy line for the "border"
set obj 1 fillstyle empty
set grid x y

plot sinc(x)