[LAMMPS] Read/Observe Log File

Although we could always write our own scripts to process LAMMPS output files, LAMMPS has this awesome package, Pizza.py , which already contains many powerful tools to allow quick observations on the simulation results. At the beginning of a simulation, you might want to check how energies and temperature drift, get averages over blocks...

[GNUPLOT] Hide axis range

In gnuplot, a handy way to turn off the axis is to use: unset ytics This will remove all the tics and associated labels on the y axis. Sometimes we like to have the tics there, but hide just the numbers (i.e. when using arbitrary unit). A more complicated way is to use the set ytics ("〈label〉" 〈position〉,) command. This...

Gnuplot with script

Gnuplot is a software in Linux machine that let you plot and fit your data.  It has an interactive interface, or if you prefer, you can plot data with a script. Here's an example of a script that plot a file in postscript, and convert it into png file: The communication with gnuplot is enclosed by the two "TOEND". In side the TOEND,...