I get the following error:
------
$ gnuplot test.gnu
set data style lines
^
"test.gnu", line 1: Unrecognized option. See 'help set'.
-----------
The content of test.gnu:
------------
$ cat test.gnu
set data style lines
set format y "%.4f"
set key
set xlabel "Energy (eV) " 0,0
set ylabel "DOS/PDOS (arb.units)" 0,0
set title " " 0,0
set terminal x11
#set terminal post color "Times-Roman" 14
#set output "dos.dat0at.ps"
plot "pdos_1.dat" u 1:2 t "total"\
, "pdos_1.dat" u 1:3 t "group 1 (loc)"\
, "pdos_2.dat" u 1:3 t "group 2 (loc)"\
pause -1
------------
The version of gnuplot in my case:
$ gnuplot --version
gnuplot 4.4 patchlevel 0
Any hints on this issue?
Regards
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
Your script is several versions of gnuplot out of date. You'll have to
update it to the current version's syntax. See "help set", in
particular "help set style".
They changed this a while back and I still get confused ;-)