Colors 显示gnuplot默认线样式
如何显示gnuplot的默认线样式(对于给定的输出终端) 我知道,如果我定义自己的线条样式,我可以显示它。但是它不显示Colors 显示gnuplot默认线样式,colors,gnuplot,Colors,Gnuplot,如何显示gnuplot的默认线样式(对于给定的输出终端) 我知道,如果我定义自己的线条样式,我可以显示它。但是它不显示test命令所显示的默认样式的规范 gnuplot> show style line gnuplot> set style line 44 lt 2 lc rgb "green" lw 2 gnuplot> show style line linestyle 44, linetype 2 linecolor rgb "green" line
test
命令所显示的默认样式的规范
gnuplot> show style line
gnuplot> set style line 44 lt 2 lc rgb "green" lw 2
gnuplot> show style line
linestyle 44, linetype 2 linecolor rgb "green" linewidth 2.000 pointtype 2 pointsize default pointinterval 0
我希望看到默认线条样式颜色的规范,以便在包含绘图的网页中使用相应的颜色
请注意,我不是在问“如何绘制特定的线样式”或“如何以图形方式显示线样式的外观”(test命令)。我在问如何列出默认线条样式的(文本)描述。您可以使用test
命令(直观地)查看它们。
从第4.2节开始:
“每个终端都有一组默认的线和点类型,可以通过使用命令
test
查看这些类型。”对于gnuplot版本5,命令show linetype 1
为您提供第一个默认线型的定义
gnuplot> show linetype 1
linetype 1, linecolor rgb "dark-violet" linewidth 1.000 dashtype solid pointtype 1 pointsize default pointinterval 0
使用“显示线型”可以显示所有预定义线型的列表:
gnuplot> show linetypes
linetype 1, linecolor rgb "dark-violet" linewidth 1.000 dashtype solid pointtype 1 pointsize default pointinterval 0
linetype 2, linecolor rgb "#009e73" linewidth 1.000 dashtype solid pointtype 2 pointsize default pointinterval 0
linetype 3, linecolor rgb "#56b4e9" linewidth 1.000 dashtype solid pointtype 3 pointsize default pointinterval 0
linetype 4, linecolor rgb "#e69f00" linewidth 1.000 dashtype solid pointtype 4 pointsize default pointinterval 0
linetype 5, linecolor rgb "#f0e442" linewidth 1.000 dashtype solid pointtype 5 pointsize default pointinterval 0
linetype 6, linecolor rgb "#0072b2" linewidth 1.000 dashtype solid pointtype 6 pointsize default pointinterval 0
linetype 7, linecolor rgb "#e51e10" linewidth 1.000 dashtype solid pointtype 7 pointsize default pointinterval 0
linetype 8, linecolor rgb "black" linewidth 1.000 dashtype solid pointtype 8 pointsize default pointinterval 0
Linetypes repeat every 8 unless explicitly defined
对于4.6版,您不能使用
show
来显示默认线型的定义。(使用即将推出的5.0,您可以)。如果您需要特殊端子的颜色,则需要其他方法来获得颜色。当线型0为灰色虚线时,为什么show linetype 0
会给出错误“tag must be>zero”,如test
命令所示?