Gnuplot网格格式Xtics Mxtics [英] Gnuplot grid format xtics mxtics
本文介绍了Gnuplot网格格式Xtics Mxtics的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何为主栅格定义一种格式(xtics,ytics),为次要tictic(mxtics和mytics)定义另一种格式?
How can I define one format for the main grid (xtics, ytics) and another one for the minor tics (mxtics and mytics)?
我尝试过:
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).
But this take the last defined lw (1) for all grids.
推荐答案
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文