Last active
April 28, 2016 18:10
-
-
Save lo5an/223d799d90919fdde036bcca6de36b0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%matplotlib inline | |
import numpy | |
import matplotlib.pyplot | |
data = numpy.loadtxt(fname="inflammation-01.csv", delimiter=',') | |
fig = matplotlib.pyplot.figure(figsize=(10.0, 3.0)) | |
axes1 = fig.add_subplot(1, 3, 1) | |
axes2 = fig.add_subplot(1, 3, 2) | |
axes3 = fig.add_subplot(1, 3, 3) | |
axes1.set_ylabel('average') | |
axes1.plot(data.mean(axis=0)) | |
axes2.set_ylabel('max') | |
axes2.plot(data.max(axis=0)) | |
axes3.set_ylabel('min') | |
axes3.plot(data.min(axis=0)) | |
fig.tight_layout() | |
matplotlib.pyplot.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment