[Pw_forum] plotband.x and displaying style

Masoud Nahali masoudnahali at live.com
Sat Aug 28 19:40:32 CEST 2010


   Dear  Gabriele Sclauzero


  Many thanks for your kind attentions and helps. Yes ! I have plotted the
band structure with GNUPlot and I have not any problem except
 where I must draw vertical lines that are related to the specific points in
the Brillouin zone :

K: 0.33333 0.33333 0.0
Gamma:0.0 0.0 0.0
M: 0.5 0.0 0.0
K: 0.33333 0.33333 0.0
H: 0.33333 0.33333 0.5
A: 0.0 0.0 0.5
L: 0.5 0.0 0.5
H: 0.33333 0.33333 0.5

  I do not know in which way plotband.x attributes a value in the "X" axis
to the above points. As one may saw, plotband.x creates vertical lines at
that points. It seems that there is not any information about the attributed
points on the X axis in the *.xmgr file. I need a help to draw that vertical
lines.

Best Wishes
Masoud Nahali
SUT


>
> Il giorno 27/ago/2010, alle ore 23.04, Masoud Nahali ha scritto:
>
> >   Dear Gabriele Sclauzero
> >
> >
> >   I need to eliminated the lines not the dots since the line style causes
> the noisy display. Replacing the dot by line in the grep command dose not
> eliminate the lines.
> >   would you please help me to eliminate the lines. Many thanks for your
> helps.
>
> Sorry, I didn't read your message carefully enough. You can try to apply
> the same trick to delete lines from that ps file. First just look inside the
> file with your preferred text editor, and then you can try a suitable
> find&replace procedure.
> However, I strongly advice you to use the datafile with the bands in the
> "xmgrace" format (which is nothing else than a pair of columns, one
> containing the "distance" along the path in k-space, the other the KS
> eigenvalues) and feed it to gnuplot (or another plotting program). Then you
> can select the postscript terminal and plot the file with any style you want
> (e.g. plot 'datafile' using 1:2 with points pt 2 ps 1).
>
> HTH
> GS
>
> >   Sincerely Yours
> >   Masoud Nahali
> >   SUT
> >
> > You can modify the postscript file using this bash onliner. Suppose your
> PS file is named file1.ps, then simply do
> > grep -v dot file1.ps > file2.ps
> > and you will get the same graph without dots in file2.ps
> >
> > HTH
> > GS
> >
> >
> > Il giorno 27/ago/2010, alle ore 09.53, Masoud Nahali ha scritto:
> >
> > > Dear QE Users
> > >
> > > When I use plotband.x to produce the band structure, the output PS file
> is a mixed of points and lines.
> > > Is there a way that the plotband.x  produces only points in the PS file
> and neglect the lines ?
> > > Since, sometimes the bands are too close to each other and using line
> and point style will cause some noisy display and so I need displaying the
> points only.
> > >
> > > I would appreciate your help and thank you in advance.
> > >
> > >
> > > Best Wishes
> > > Masoud Nahali
> > > SUT
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20100828/8657a8e7/attachment.html>


More information about the users mailing list