multiplot 하면서 png 파일로 저장/ Multiplot & saving as png file at once

 

 

set terminal png  
set output 'encut.png' 
set xrange [250:850] 
set xlabel 'ENCUT'  
set nokey 

set multiplot  

set lmargin screen 0.4
### 'lattice constant' 
set ytics nomirror 
#set yrange [0.5320:0.53625] 
set ytics offset  0, 0 
set ylabel offset 0, 0 
set ylabel 'lattice constant * 5.43 (angstroms)' textcolor rgb "blue" 
plot 'encut.dat' u 1:2 with p ls 1 lc rgb "blue" 


###free energy (eV) 
set ytics nomirror 
#set yrange [-11:-10.15] 
set ytics offset -12, 0 
set ylabel offset -12, 0 
set ylabel 'free energy (eV)' textcolor rgb "#008000" 
plot 'encut.dat' u 1:3 with p ls 2 lt rgb "#008000" 


unset multiplot 
unset output 
set terminal wxt 

Leave a Reply