[Pw_forum] How to use plotrho.x to plot 2D graph?

mohamed sabri majdoub majdoub at gmail.com
Fri Jan 8 04:51:46 CET 2010


Dear all,

I run a pw.x calculation on my system. I wanted to plot the total potential
profile vs z (length of the system).
I use the post processing tool pp.x and follow the example05 as the
following:
--------------------------------------------------------------------------------------------------------------------------------
 &inputpp
    prefix  = 'GphBN'
    outdir = '/pwscf/pwscftemp'
    filplot = 'totalpotential'
    plot_num= 1
 /
 &plot
    nfile = 1
    filepp(1) = 'totalpotential'
    weight(1) = 1.0
    iflag = 2
    output_format = 2
    fileout = 'GphBN.rho.dat'
    e1(1) =1.0, e1(2)=0.0, e1(3) = 0.0,
    e2(1) =0.0, e2(2)=0.0, e2(3) = 1.0,
    nx=40, ny=40
 /
-------------------------------------------------------------------------------------------
I got 2 files as indicated above "totalpotential" and "GphBN.rho.dat" where
the format of the output is 2 suitable for 2D plot with plotrho.x
However, I do not know how to run plotrho.x since there is no details about
it.
What I found is the example05:
-------------------------------------------------------------------------------------------
GphBN.rho.dat
GphBN.rho.ps
n
0 0.09 6
----------------------------------------------------------------------------------------------
(what does n? 0 0.09 6? stands for)
I tried to run it for my calculation but it is giving error message : too
many input argument.
Does any one have an idea about how to run plotrho.x ?
Or does any one have a suggestion to visualize totalpotentail vs z (2D) with
other formats (except xcrysden).

Thank you in advance for your help.

Mohamed S Majdoub

Mechanical Engineering
University of Houston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20100107/01385748/attachment.html>


More information about the users mailing list