Plot 在值的第一个实例的行上放置一个图标?

Plot 在值的第一个实例的行上放置一个图标?,plot,gnuplot,Plot,Gnuplot,我有一个gnuplot脚本,如下所示: #!/usr/bin/gnuplot -persist set terminal x11 line = "./test.csv" plot line using 1 with lines linecolor 1 linewidth 3 title "Line" 和我的test.csv文件: 0.92 0.74 0.65 0.59 0.48 0.46 0.24 0.11 0.09 0.05 0.03 0.01 这将生成如下图: 我想看看这条线在0.1

我有一个gnuplot脚本,如下所示:

#!/usr/bin/gnuplot -persist

set terminal x11
line = "./test.csv"
plot line using 1 with lines linecolor 1 linewidth 3 title "Line"
和我的
test.csv
文件:

0.92
0.74
0.65
0.59
0.48
0.46
0.24
0.11
0.09
0.05
0.03
0.01
这将生成如下图:

我想看看这条线在
0.1
下面的位置。有没有一种方法可以通过线条上的图标或垂直虚线来标记此位置。如下所示:


因此,如果
x=9
,这是第一次
y使用
pointsize变量
的一轮版本:

$line <<EOD
0.92
0.74
0.65
0.59
0.48
0.46
0.24
0.11
0.09
0.05
0.03
0.01
EOD

hit=0; plot $line using 0:1:(hit=hit+($1<0.1), hit==1?3:0) with lp ps var pt 7 lw 3 title "Line"

hit=0; plot $line using 1 w l lw 3 title "Line",\
           "" using 0:(hit=hit+($1<0.1), $1/(hit==1)):(0):(1) w e  lc 1 pt 7 ps 3 title ""