After the rdf.pl script file is exceuted, there is no STDOUT file is generated (usage: interpolate.pl (POSCAR 1) (POSCAR 2) (fraction)
output: POSCAR.out file, to STDOUT) and only the Distance and the the Corresponding Neighbors are given on the screen.
My question is that in this case how to get the RDF plot? The X axis is the distance and the Y axis the corresponding total number of the neighbors, right?
Thanks.
rdf.pl
Moderator: moderators
Re: rdf.pl
radial distribution function
usage: rdf.pl <POSCAR filename> <atom to measure from> <bin size in Angstroms>
The output printed to the screen is but can be piped to a file and has the format
distance, ( frequency ) : list of atoms included in bin
You can plot a histogram of the rdf by then using the distance as X and the frequency as Y.
For a quick qualitative preview what the graph would look like, look at the output to screen sideways.
usage: rdf.pl <POSCAR filename> <atom to measure from> <bin size in Angstroms>
The output printed to the screen is but can be piped to a file and has the format
distance, ( frequency ) : list of atoms included in bin
You can plot a histogram of the rdf by then using the distance as X and the frequency as Y.
For a quick qualitative preview what the graph would look like, look at the output to screen sideways.
Re: rdf.pl
Dear Dano,
Now I understand. Thank you very much.
Now I understand. Thank you very much.