Skip to content
Snippets Groups Projects
Commit c01c82d4 authored by Armin Riess's avatar Armin Riess
Browse files

script to plot mean interparticle distance

parent 46e6d574
No related branches found
No related tags found
No related merge requests found
plots/mid (0).png

18.6 KiB

plots/mid.png

18.5 KiB

import numpy as np
import matplotlib.pyplot as plt
data = np.loadtxt('mid.txt')
steps = np.linspace(0, len(data), len(data))
plt.plot(steps, data)
plt.savefig('mid.png')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment