【发布时间】:2016-11-28 15:11:12
【问题描述】:
有什么方法可以使用颜色名称而不是十六进制值或 RGB 三元组来更改我的绘图颜色?我需要的是similar to the first answer in this post。我的输入数据(input.dat)如下:
1 1 2 0 magenta
1 2 2 0 red
1 3 2 0 green
1 4 2 0 black
简单测试:
set xrange [0:10]
set yrange [0:10]
plot "input.dat" using 1:2:3:4:5 with vectors lw 3 lc rgb variable
【问题讨论】:
标签: file input colors gnuplot rgb