In [1]:
from xrdtools import parse_data, heatmap
In [2]:
%matplotlib inline
In [3]:
m = parse_data('../data/result_slice01.txt', colnum=1)
In [4]:
m.head()
Out[4]:
In [5]:
heatmap(m)
In [7]:
m = parse_data('../data/result_slice01.txt', colnum=6)
heatmap(m, 10, cmap='Greens_r')
In [10]:
import matplotlib.pyplot as plt
import seaborn as sns
In [11]:
plt.figure(figsize=(14, 10))
sns.heatmap(m, cmap='viridis', xticklabels=False, yticklabels=False)
Out[11]:
In [12]:
%version_information
Out[12]: