aboutsummaryrefslogtreecommitdiffstats
path: root/plot.py
blob: a4faf89b63f7108c05b14b0453da1d5ab063f9dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python2
#
# Plot the contents of the measurements.csv generated
# by amplitude_ramp.py
#
# Copyright (C) 2016
# Matthias P. Braendli, matthias.braendli@mpb.li
# http://www.opendigitalradio.org
# Licence: The MIT License, see LICENCE file

import numpy as np
import matplotlib.pyplot as pp

measurements = np.loadtxt("measurements.csv", delimiter=",")

pp.subplot(311)
pp.plot(measurements[..., 1])
pp.subplot(312)
pp.plot(measurements[..., 2])
pp.subplot(313)
pp.plot(measurements[..., 3])

pp.show()