Skip to content

Instantly share code, notes, and snippets.

@ejmurray
Created March 5, 2015 13:56
Show Gist options
  • Save ejmurray/3c3a692304212ffa8c5f to your computer and use it in GitHub Desktop.
Save ejmurray/3c3a692304212ffa8c5f to your computer and use it in GitHub Desktop.
#!/usr/bin/python
# encoding: utf-8
"""
script to plot mass over time.
"""
import pylab as pl
import numpy as np
x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
y = [87.6, 86.9, 86.7, 87.2, 86.4, 86.0, 85.6, 86.0, 85.8, 85.5]
pl.xlabel('Date')
pl.ylabel('Weight(Kg)')
pl.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment