Gnuplot网格格式Xtics Mxtics

标签 gnuplot

如何为主网格定义一种格式(xtics,ytics),为次要网格定义另一种格式(mx tics和mystics)?
我试过了:

set style line 100 lt 1 lc rgb "gray" lw 2
set style line 101 lt 1 lc rgb "gray" lw 1
set grid xtics ytics ls 100
set grid mxtics mytics ls 101
但这将为所有网格取最后定义的lw(1)。

最佳答案

set style line 100 lt 1 lc rgb "gray" lw 2
set style line 101 lt 0.5 lc rgb "gray" lw 1

set grid mytics ytics ls 100, ls 101
set grid mxtics xtics ls 100, ls 101

真的行 :)。

关于Gnuplot网格格式Xtics Mxtics,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11492903/

相关文章:

matrix - 用线绘制矩阵 gnuplot

r - 创建十六进制图

c++ - 通过 fork 和 pipeline 调用 gnuplot 并更新绘图

macos - macports 和 gnuplot 不同用户的问题

3d - 如何根据点的类别制作 3D 密度图

gnuplot,将 y 轴分成两部分

c - 使用 C 在 gnuplot 中设置标题和标签

conditional - Gnuplot:带线条的条件绘图($2 == 15 ? $2 : '1/0')

gnuplot - 不接受 gnuplot-datafile 中的单列

colors - GNUPLOT splot 调色板匹配 jetmap