You remove the following lines &amp; try seeing it in xcrysden:<br><br>Program POST-PROC v.4.0.2&nbsp; starts ...<br>&nbsp;&nbsp;&nbsp;&nbsp; Today is 11Sep2009 at 12:54:29 <br><br>&nbsp;&nbsp;&nbsp;&nbsp; Check: negative/imaginary core charge=&nbsp;&nbsp; -0.000009&nbsp;&nbsp;&nbsp; 0.000000<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp; negative rho (up, down):&nbsp; 0.188E+00 0.000E+00<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp; Calling punch_plot, plot_num =&nbsp;&nbsp; 0<br>&nbsp;&nbsp;&nbsp;&nbsp; Writing data to file&nbsp; yvocharge<br>&nbsp;&nbsp;&nbsp;&nbsp; Reading data from file&nbsp; yvocharge<br><br><div class="gmail_quote">2009/9/11 shypirate <span dir="ltr">&lt;<a href="mailto:shypirate@gmail.com">shypirate@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div style="margin: 10px; font-size: 10pt; font-family: verdana;">
<div><font size="2" color="#000080" face="Verdana">it definitely can not be used as 
input file for&nbsp; xcrysden.</font></div>
<div><font color="#000080">try to use the data included in &quot;<font color="#000000">BLOCK_DATAGRID_3D&quot; section</font><br></font></div>
<div><font size="2" color="#000080" face="Verdana"></font>&nbsp;</div>
<div><font size="2" color="#000080" face="Verdana"></font>&nbsp;</div>
<div><font size="2" color="#c0c0c0" face="Verdana">2009-09-11 </font></div><font size="2" color="#000080" face="Verdana">
<hr style="width: 100px;" size="1" align="left" color="#b5c4df">
</font>
<div><font size="2" color="#c0c0c0" face="Verdana"><span>shypirate</span> 
</font></div>
<hr size="1" color="#b5c4df">

<div><font size="2" face="Verdana"><b>发件人:</b> dev sharma </font></div>
<div><font size="2" face="Verdana"><b>发送时间:</b> 2009-09-11&nbsp; 16:53:38 
</font></div>
<div><font size="2" face="Verdana"><b>收件人:</b> PWSCF Forum </font></div>
<div><font size="2" face="Verdana"><b>抄送:</b> </font></div>
<div><font size="2" face="Verdana"><b>主题:</b> Re: [Pw_forum] problem with 
charge density with xcrysden </font></div><div><div></div><div class="h5">
<div><font size="2" face="Verdana"></font> </div>
<div><font size="2" face="Verdana">Dear sir, my.xsf file is below <br><br>Program 
POST-PROC v.4.0.2&nbsp; starts ...<br>&nbsp;&nbsp;&nbsp;&nbsp; Today is 
11Sep2009 at 12:54:29 <br><br>&nbsp;&nbsp;&nbsp;&nbsp; Check: negative/imaginary 
core charge=&nbsp;&nbsp; -0.000009&nbsp;&nbsp;&nbsp; 
0.000000<br><br>&nbsp;&nbsp;&nbsp;&nbsp; negative rho (up, down):&nbsp; 
0.188E+00 0.000E+00<br><br>&nbsp;&nbsp;&nbsp;&nbsp; Calling punch_plot, plot_num 
=&nbsp;&nbsp; 0<br>&nbsp;&nbsp;&nbsp;&nbsp; Writing data to file&nbsp; 
yvocharge<br>&nbsp;&nbsp;&nbsp;&nbsp; Reading data from file&nbsp; 
yvocharge<br>&nbsp;CRYSTAL<br>&nbsp;PRIMVEC<br>&nbsp;&nbsp;&nbsp; 
7.118300514&nbsp;&nbsp;&nbsp; 0.000000000&nbsp;&nbsp;&nbsp; 
0.000000000<br>&nbsp;&nbsp;&nbsp; 0.000000000&nbsp;&nbsp;&nbsp; 
7.118300514&nbsp;&nbsp;&nbsp; 0.000000000<br>&nbsp;&nbsp;&nbsp; 
0.000000000&nbsp;&nbsp;&nbsp; 0.000000000&nbsp;&nbsp;&nbsp; 
6.289300454<br>&nbsp;PRIMCOORD<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
24&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1<br>Y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
0.000000000&nbsp;&nbsp;&nbsp; 5.338725356&nbsp;&nbsp;&nbsp; 
0.786162553<br>/<br>/<br>O&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1.311190868&nbsp;&nbsp;&nbsp; 5.338725356&nbsp;&nbsp;&nbsp; 
2.835216639<br>BEGIN_BLOCK_DATAGRID_3D<br>3D_PWSCF<br>DATAGRID_3D_UNKNOWN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
61&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
61&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 49<br>&nbsp; 
0.000000&nbsp; 0.000000&nbsp; 0.000000<br>&nbsp; 7.118301&nbsp; 0.000000&nbsp; 
0.000000<br>&nbsp; 0.000000&nbsp; 7.118301&nbsp; 0.000000<br>&nbsp; 
0.000000&nbsp; 0.000000&nbsp; 6.289300<br>&nbsp; 0.19131E-01&nbsp; 
0.18756E-01&nbsp; 0.17478E-01&nbsp; 0.15613E-01&nbsp; 0.13484E-01&nbsp; 
0.11234E-01<br>/<br>/<br>&nbsp;0.93736E-02&nbsp; 0.11234E-01&nbsp; 
0.13484E-01&nbsp; 0.15613E-01&nbsp; 0.17478E-01&nbsp; 0.18756E-01<br>&nbsp; 
0.19131E-01<br>END_DATAGRID_3D<br>END_BLOCK_DATAGRID_3D<br>&nbsp;&nbsp;&nbsp;&nbsp; 
Plot Type: 
3D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Output format: XCrySDen&nbsp;&nbsp;&nbsp;&nbsp; <br><br>thanks.<br><br>
<div class="gmail_quote">On Fri, Sep 11, 2009 at 2:14 PM, Gabriele Sclauzero <span dir="ltr">&lt;<a href="mailto:sclauzer@sissa.it" target="_blank">sclauzer@sissa.it</a>&gt;</span> 
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear 
  Dev,<br>
  <div><br>dev sharma wrote:<br>&gt; hi 2 all,<br>&gt; &nbsp;I am 
  trying to plot the charge density with the XCrysden, but when i am<br>&gt; 
  opening&#39;s XSF(file--&gt; open structure--&gt; open XSF(xcryden 
  structure<br>&gt; file)) file , generated by my calculations, it is showing 
  the structure<br>&gt; of my system. And i am not getting the &nbsp; option 
  tools--&gt; DATA GRID as<br>&gt; ready. Please help or advice ?? Thankful to 
  all of you. What i did is<br>&gt; listed below.<br><br></div>Have you had a 
  look inside your .xsf file? How does it look? Does it actually contain 
  the<br>DATAGRID block? Is it complete? Please supply more 
  information!<br><br>Regards,<br><br>GS<br>
  <div><br><br>&gt; I run my input file with command<br>&gt; 
  /home/physics/espresso-4.0.2/bin/pp.x &nbsp;&lt;density.inp&gt; 
  density.xsf<br></div>&gt; and inputs of <a href="http://density.in" target="_blank">density.in</a> &lt;<a href="http://density.in" target="_blank">http://density.in</a>&gt; are<br>
  <div>&gt; &nbsp;&amp;inputpp<br>&gt; &nbsp; prefix &nbsp;= 
  &#39;yvo&#39;<br>&gt; &nbsp;outdir &nbsp;= &#39;/home/physics/work/yvo/temp/&#39;,<br>&gt; 
  filplot = &#39;yvocharge&#39;<br>&gt; &nbsp; plot_num= 0<br>&gt; &nbsp;/<br>&gt; 
  &nbsp;&amp;plot<br>&gt; &nbsp; nfile = 1<br>&gt; &nbsp;filepp(1) = 
  &#39;yvocharge&#39;<br>&gt; &nbsp; weight(1) = 1.0<br>&gt; &nbsp; &nbsp;iflag = 
  3<br>&gt; &nbsp; output_format = 5,<br>&gt; &nbsp;/<br>&gt;<br>&gt; with 
  regards,<br>&gt; Dev Sharma,<br>&gt; University of 
  Delhi,<br>&gt;<br>&gt;<br></div>&gt; 
  ------------------------------------------------------------------------<br>&gt;<br>&gt; 
  _______________________________________________<br>&gt; Pw_forum mailing 
  list<br>&gt; <a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>&gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
<br>--<br><br><br>o 
  ------------------------------------------------ o<br>| Gabriele Sclauzero, 
  PhD Student &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp;|<br>| c/o: &nbsp; SISSA &amp; CNR-INFM Democritos, &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp;|<br>| &nbsp; &nbsp; &nbsp; &nbsp;via Beirut 2-4, 
  34014 Trieste (Italy) &nbsp; &nbsp; |<br>| email: <a href="mailto:sclauzer@sissa.it" target="_blank">sclauzer@sissa.it</a> &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br>| phone: 
  +39 040 3787 511 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|<br>| skype: gurlonotturno &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; |<br>o ------------------------------------------------ 
  o<br>_______________________________________________<br>Pw_forum mailing 
  list<br><a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br><a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
</blockquote></div><br></font></div></div></div></div>
<br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>PRASENJIT GHOSH,<br>POST-DOC,<br>ROOM NO: 265, MAIN BUILDING,<br>CM SECTION, ICTP,<br>STRADA COSTERIA 11,<br>TRIESTE, 34104,<br>ITALY<br>PHONE: +39 040 2240 369 (O)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+39 3807528672 (M)<br>