Example in a bash ($) terminal:

username@computername:~/test$ cat test.joint
#2                              Vol =     421.5088774080
#  Energy  [eV]     Im_eps_xx          Im_eps_zz
#
      0.00000     0.25000000E+00     0.00000000E+00
      1.00000     0.50000000E+00     0.50000000E+00
      2.00000     0.75000000E+00     1.00000000E+00
username@computername:~/test$ cp $WIENROOT/opticplot_lapw opticplot2
username@computername:~/test$ chmod +x opticplot2
username@computername:~/test$ gedit opticplot2
Put a comment (#) in front of "rm $tmp1 $tmp2" on line 280 in opticplot2 of WIEN2k 14.2
username@computername:~/test$ sed -n 280p opticplot2
#    rm $tmp1 $tmp2
username@computername:~/test$ ./opticplot2
...
   File to plot:
J
...
Which column to plot?  2
...

Do you want to set ranges? (y/N)N
Do you want a hardcopy? (y/N)y
...
Specify a filename (default is opticplot.ps)opticplot.ps
...
   File to plot:
q
username@computername:~/test$ gedit :opt2
Edit the gnuplot file called :opt2 in text editor [ http://stackoverflow.com/questions/16073232/gnuplot-plotting-a-file-with-4-columns-all-on-y-axis ]
username@computername:~/test$ cat :opt2
set title 'test.joint'
set style data lines
set terminal png
set output "opticplot2.png"
set xrange [:]
set yrange [:]
set xlabel "Energy [eV]"
set ylabel "Im_eps"

plot ":opt1" using 1:2 title "Im_eps_xx", \
     ":opt1" using 1:3 title "Im_eps_zz"
username@computername:~/test$ gnuplot :opt2

_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

Reply via email to