重叠线gnuplot之间的混乱

时间:2018-06-23 10:07:08

标签: gnuplot

我有以下.plt文件:

set term post eps enh col 'Helvetica' 16 dl 3 size 10,10

# x-axis
set xlabel "classes"
set xtics 10

# y-axis
set ylabel "Accuracy [Percentage]"
set ytics 5

#set grid

# Legend
set key spac 1.25
set key below

# Accuracies vs classes of flowers as 0,1,2..100
# -----------------------------------
set out "AccuracyVSFlowersclasses.eps"

plot "inceptionresnet.dat" u 1:2 w p lw 6 lt 1 lc rgb "green" notitle,\
 "mobilenet.dat" u 1:2 w p lw 6 lt 1 lc rgb "red" notitle ,\
 "nasnet.dat" u 1:2 w p lw 6 lt 1 lc rgb "yellow" notitle,\
 "resnet50.dat" u 1:2 w p lw 6 lt 1 lc rgb "magenta " notitle,\
 "resnet152.dat" u 1:2 w p lw 6 lt 1 lc rgb "blue" notitle,\
 "inceptionresnet.dat" u 1:2 w l lw 6 lt 1 lc rgb "green" t "inception-resnet",\
 "mobilenet.dat" u 1:2 w l lw 6 lt 1 lc rgb "red" t "mobilenet" ,\
 "nasnet.dat" u 1:2 w l lw 6 lt 1 lc rgb "yellow" t "nasnet",\
 "resnet50.dat" u 1:2 w l lw 6 lt 1 lc rgb "magenta " t "resnet50",\
 "resnet152.dat" u 1:2 w l lw 6 lt 1 lc rgb "blue" t "resnet152"

会产生以下情节:

enter image description here

我的问题是关于如何通过使线条之间的差异更大来使图更清晰。我尝试使用较少的x值,但不得不从.dat文件中手动删除,它太长了,结果不好。我也尝试过使用平滑选项,但是它会导致图形过于平滑,甚至没有考虑到精度值低于70%和高于90%的情况。

您打算使用哪种解决方案来获得更清晰的图表?

0 个答案:

没有答案