xtics label, draw vertical line / x 축 이름 붙이기, 세로선 그리기

unset key
set ytics
set trange[-14:6]
set yrange[-14:6]
set xrange[0:3.159922]
set xtics format " "
set xtics add ("L" 0)
set xtics add ("G" 0.866025) 
set xtics add ("X" 1.591740)
set xtics add ("W" 1.950516)
set xtics add ("K" 2.312047)
set xtics add ("G" 3.159922)
set parametric
plot "eigen.dat" index 0 using 1:2 with line,\
"eigen.dat" index 1 using 1:2 with line,\
"eigen.dat" index 2 using 1:2 with line,\
"eigen.dat" index 3 using 1:2 with line,\
"eigen.dat" index 4 using 1:2 with line,\
"eigen.dat" index 5 using 1:2 with line,\
0.866025,t with line lt rgb "red",\
1.591740,t with line lt rgb "red",\
1.950516,t with line lt rgb "red",\
2.312047,t with line lt rgb "red"
set terminal png
set output 'eigen.png'
replot
set terminal wxt 

Leave a Reply