From 05c816c6ba2dd3ad7ff55827800f154c4003621e Mon Sep 17 00:00:00 2001 From: Nadine Fischer Date: Sun, 5 Nov 2023 15:04:54 -0700 Subject: [PATCH 1/2] Units in axes --- make_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_plot.py b/make_plot.py index 93ab2ec..3052853 100644 --- a/make_plot.py +++ b/make_plot.py @@ -22,7 +22,7 @@ pyplot.legend(['Column 200', 'Mean']) pyplot.title('Plot of Column 200 Values and Mean') pyplot.xlabel('Pixels') -pyplot.ylabel('Intensity') +pyplot.ylabel('Intensity [unit]') pyplot.figure() pyplot.plot(np.arange(1024), col3) mean = np.mean(col3) From c7468ae7425bfad880502379c9bad5f32509d6b4 Mon Sep 17 00:00:00 2001 From: Nadine Fischer Date: Sun, 5 Nov 2023 15:55:51 -0700 Subject: [PATCH 2/2] Dont use this --- make_plot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/make_plot.py b/make_plot.py index f3975b2..538ea12 100644 --- a/make_plot.py +++ b/make_plot.py @@ -3,6 +3,7 @@ import os from astropy.io import fits import glob +import funsies data = fits.getdata('/Users/bostroem/Desktop/images/hubble_img.fits') col1 = data[20, :]