From ccd1245db7f6799ab4e1f45a8cead85ed67f1c72 Mon Sep 17 00:00:00 2001 From: AdeB Date: Sat, 25 Apr 2015 11:12:19 -0400 Subject: Increase resolution of the map. --- data_analysis/maps.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data_analysis/maps.py b/data_analysis/maps.py index 0b37f37..991f279 100644 --- a/data_analysis/maps.py +++ b/data_analysis/maps.py @@ -38,12 +38,12 @@ def extract_coordinates(n_coordinates=None): def draw_map(coordinates, xrg, yrg): + print "Start drawing" + plt.figure(figsize=(30, 30), dpi=100, facecolor='w', edgecolor='k') hist, xx, yy = np.histogram2d(coordinates[:, 0], coordinates[:, 1], bins=2000, range=[xrg, yrg]) plt.imshow(np.log(hist)) - plt.savefig(data.DATA_PATH + "/analysis/xyhmap.pdf") - - scipy.misc.imsave(data.DATA_PATH + "/analysis/xymap.png", np.log(hist)) + plt.savefig(data.DATA_PATH + "/analysis/xyhmap2.png") if __name__ == "__main__": -- cgit v1.2.3