From 0ff3c30621589f9e6d1d05d146adf5952382db34 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 11 Jan 2020 23:04:56 +0100 Subject: Mark exaxt sun direction in fancy fisheye plot --- fancy_local_sunrise.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fancy_local_sunrise.py b/fancy_local_sunrise.py index 49302bd..f9247c0 100644 --- a/fancy_local_sunrise.py +++ b/fancy_local_sunrise.py @@ -83,6 +83,7 @@ for time in np.arange(*time_range): ax_polar.set_yticklabels(['' if i == 90 else '%d°' % i for i in yticks], color='white', fontsize=6) ax_polar.set_rlabel_position(90/4) ax_polar.set_xticklabels(['N', 'NW', 'W', 'SW', 'S', 'SE', 'E', 'NE']) + ax_polar.scatter(np.pi + sun_dir[1], np.degrees(sun_dir[0]), c='yellow', marker='*') ax_polar.grid(True) plt.savefig("sky_%05.1f.png" % time, bbox_inches='tight', pad_inches=0.2) -- cgit v1.2.3