等高线图中的关键颜色

时间:2017-04-07 12:14:44

标签: key label gnuplot contour

我正在尝试制作轮廓图。使用当前脚本,我得到了下图: A contour

这是我用来制作图的脚本:

await

我的问题是我不喜欢键中的颜色如何表示值,它们似乎随机变化。有没有办法(gnuplot命令)使颜色逐渐变化,如下所示? enter image description here

1 个答案:

答案 0 :(得分:1)

您必须手动更改lintetypes,例如:

set linetype 1 lc rgb "#B22222"
set linetype 2 lc rgb "#B22233"
set linetype 3 lc rgb "#B22244"
set linetype 4 lc rgb "#B22255"
# ect...

OR

set style line 1 lc rgb "#B22222"
set style line 2 lc rgb "#B22233"
set style line 3 lc rgb "#B22244"
set style line 4 lc rgb "#B22255"
# ect...