MOD10A1 area by country, 2000-2013


In [1]:
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
%pylab inline


Populating the interactive namespace from numpy and matplotlib

In [9]:
filename = 'Tajikistan.MODIS_persistence_by_day.txt'
df = pd.read_csv( filename, delim_whitespace=True, index_col=0 )
df


Out[9]:
SCA_km^2
Date

In [8]:
ax = df.plot(style='-o')
ax.legend(bbox_to_anchor=(1.5,1.0))
ax.set(title="MOD10A1", ylabel='MOD10A1 area ($km^2$)' )


Out[8]:
[<matplotlib.text.Text at 0x10a26c5d0>, <matplotlib.text.Text at 0x10a72d490>]

In [ ]: