Gnuplot:冲到实线

use*_*901 1 gnuplot

我在使用gnuplot渲染除了一条线以外的所有线条时都遇到了麻烦.即,设定后

gnuplot> set terminal postscript eps color
gnuplot> set term postscript eps color linewidth 2 
gnuplot> set output "local1.eps" 
gnuplot> set pointsize 0.5
Run Code Online (Sandbox Code Playgroud)

和调用

plot "YY_globalized.txt" using 1:2 title "Global approach" with linespoints linetype 1 pointtype 1, "YY_localizedPlain.txt" using 1:2 title "Localized Opt" with linespoints linetype 11 pointtype 2
Run Code Online (Sandbox Code Playgroud)

一条线是实线,而另一条线是虚线.在多行的情况下,每个都有自己的风格,不同于虚线.有没有办法指定所有的行应该是实心的,但是颜色不同(并且可能有不同的点样式)?

谢谢.

Tob*_*ler 6

只需在第一行中指定终端选项"solid":

gnuplot> set terminal postscript eps color solid
Run Code Online (Sandbox Code Playgroud)