有没有办法gnuplot在x和/或y轴上设置tic标记的颜色?我正在使用png非常暗的背景文件,我希望内部的抽搐以白色显示,而不是默认的黑色.
mgi*_*son 12
在tics似乎从继承其颜色border:
set style line 50 lt 1 lc rgb "red" lw 2
set border ls 50
plot sin(x)
Run Code Online (Sandbox Code Playgroud)
抽屉标签的颜色来自以下textcolor选项tics:
set tics textcolor rgb "red"
Run Code Online (Sandbox Code Playgroud)
(字符串"white"也应该有用,但是因为我的背景是白色的,所以在我的演示中看起来不太好).
没有办法改变抽动色.但是,如果需要,可以更改抽头/边框颜色,然后在顶部添加新边框:
set arrow from graph 0,graph 1 to graph 1,graph 1 nohead ls -1 lc rgb "black" front
set arrow from graph 1,graph 1 to graph 1,graph 0 nohead ls -1 lc rgb "black" front
set arrow from graph 1,graph 0 to graph 0,graph 0 nohead ls -1 lc rgb "black" front
set arrow from graph 0,graph 0 to graph 0,graph 1 nohead ls -1 lc rgb "black" front
Run Code Online (Sandbox Code Playgroud)