In [1]:
%matplotlib inline
In [2]:
import pandas as pd
import matplotlib.pyplot as plt
In [3]:
data_file = "P753-line-magnetic-AWAGS_MAG_2010.dat"
df = pd.read_csv(data_file, delim_whitespace=True, header=None)
In [4]:
def scatter(df, col=0):
    fig, ax = plt.subplots(figsize=(10,10))
    ax.scatter(df[10], df[9], c=df[col])
    plt.show()
In [5]:
scatter(df[:50], col=3)
In [6]:
scatter(df[:500], col=3)
In [7]:
scatter(df[:5000], col=3)
In [8]:
scatter(df[:46200], col=3)
In [9]:
scatter(df[:50000], col=3)
In [10]:
scatter(df[:500000], col=3)