<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10pt"><div style="" class=""><span style="" class="">Dear all <br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;" class=""><span style="" class="">I wish to plot band structure by fixing fermi level at valence band maxima</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;" class=""><span style="" class=""><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style:
normal;" class=""><span style="" class="">My plotband.in file is attached below, in which (5th line) -1.3003 refers fermi energy</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;" class=""><span style="" class="">My question is as follows</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal; font-weight: bold;" class=""><span style="" class="">Will the output generated (ZrS2m.bands.xmgr) have EF at VBM automatically ?</span> <span style="" class=""><span style="font-weight: normal;">or </span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;
background-color: transparent; font-style: normal;" class=""><span style="" class=""><span style="font-weight: bold;">I will have to subtract values (-1.3003/any other values) from the second column</span> of output (ZrS2m.bands.dat)</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;" class=""><span style="" class="">if the seocnd option is correct, can anybody rectify the mistake in awk command mentioned below</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal; font-weight: bold;" class=""><span style="" class="">awk '{print $1, $2-1.3003}' ZrS2m.bands.dat > bands-ef.dat</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;" class=""><span style="" class="">----------------------------------------------------</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;" class=""><span style="" class="">plotband.in</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;" class=""><span style="" class=""><br></span></div><div style="" class=""><span style="" class="">ZrS2m.bands.dat<br style="" class="">-15.0 7.0<br style="" class="">ZrS2m.bands.xmgr<br style="" class="">ZrS2m.bands.ps<br style="" class="">-1.3003<br style="" class="">1.00 -1.3003<br style=""
class=""></span>--------------------------------------------------------------------- <br style="" class=""><br style="" class=""><b style="" class=""><font style="" class="" color="#0000ff" size="4">Sohail Ahmad</font></b></div><font style="" class="" color="#0000ff">King Khalid University</font><div style="" class=""><font style="" class="" color="#0000ff">Saudi Arabia</font></div><div style="" class=""></div><br></div></body></html>