From d8800f6c3b39fe22e991ae32c764aeee5b38b3dd Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Mon, 27 Apr 2020 20:13:56 +0000 Subject: [PATCH] ex-1: remote histogram plot program --- ex-1/plot.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 ex-1/plot.py diff --git a/ex-1/plot.py b/ex-1/plot.py deleted file mode 100755 index 4d554db..0000000 --- a/ex-1/plot.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python - -from pylab import * -import sys - -a, b, f = loadtxt(sys.stdin, unpack=True) -title('Landau distribution sampling', loc='right') -hist(a, np.insert(b, 0, a[0]), weights=f/sum(f)) -annotate(f'N={sum(f)}\nbins={len(f)}', (50, 0.2)) -show()