0
我想绘制x值落在xtics之间的图。x轴处的值落在xtics之间
例如,我希望我的xtics是
C72 C73 C74 C75 C76 C77 C78 C79 C80 C81
和点C72 C73之间下跌; C73 C74; C74 C75;等等。
我的数据点
> 2.5 0.17509 C72
> 3.5 0.220434 C73
> 4.5 0.164918 C74
> 5.5 0.172477 C75
> 6.5 0.156145 C76
> 7.5 0.171699 C77
> 8.5 0.165199 C78
> 9.5 0.191207 C79
> 10.5 0.211656 C80
> 11.5 0.202233 C81
我在脚本定义如下使用xticlabels():
#OUTPUT
set terminal pngcairo size 650,450 enhanced dash
set output "xplot_gauche_malto-thermo.png"
set style line 4 lt 4 lw 10 # Please DISABLE pause -1
#MICRO
set macro
labelFONT="font 'arial,22'"
scaleFONT="font 'arial,18'"
scaleFONT2="font 'arial,18'"
keyFONT="font 'arial,18'"
# AXIS DEFINITIONS
set xrange [0:12]
set yrange [0:0.8]
set xtic (2,3,4,5,6,7,8,9,10,11) @scaleFONT2
set ytic @scaleFONT
set boxwidth 0.8
set size square
#PLOT
plot "all_dihedrals_in_layers_malto.dat" using 1:2:xticlabels(3) with linespoints lw 2 linecolor rgb "black" pointtype 1 pointsize 2 title ""
如果我使用的代码如上,仅使用第1列获得一个阴谋和2从数据文件(如上所述)我得到的点在2-3,3-4,4-5之间等等。
不幸的是,如果我使用“xticlabels()”,我没有得到图表,因为我想在C72-C73,C73-C74,C74-C75等之间落入该点。
提前感谢您的帮助。 感谢