我正在使用gnuplot来绘制一些简单的数据。但在某些数据集中,我需要跳过一列或多列。
我的数据文件如下所示:
#locus_2
5 Bet01_230 0.00057
10 Bet01_230 0.00007
15 Bet01_230 0.00024
20 Bet01_230 0.00312
25 Bet01_230 0.00087
30 Bet01_230 0.00264
数据文件名存储在“fig2_filenames.txt”
中我正在使用此代码(尝试)绘制数据:
clear
set autoscale
set style line 1 lt 1 lw 1 pt 3 linecolor rgb "blue"
set title "Impact of allele frequency and sample size \n on the accuracy of mean sample allele frequency"
set xlabel "sample size"
set ylabel "mean difference from real frequence"
set ytic 0.1
set key off
set term png
filenames = "fig2_filenames.txt"
plot for [i=1:69] 'fig2.dat.out'.i using 1:3 title '', for [i=1:69] 'fig2.dat.out'.i w lines ls 1 title ''
但我收到此错误消息:
“plot_fig2”,第11行:警告:请求的轴刻度太多(> 9e + 02)
那么,我做错了什么? 谢谢你的帮助。