diff options
author | Adrian Kummerlaender | 2020-01-11 23:04:56 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2020-01-11 23:04:56 +0100 |
commit | 0ff3c30621589f9e6d1d05d146adf5952382db34 (patch) | |
tree | 335f8d0ff97ee0c7a19ef788d5131439d0c56ffa | |
parent | 1e5eba2da524e258345eb9796819200ee7052f8e (diff) | |
download | firmament-0ff3c30621589f9e6d1d05d146adf5952382db34.tar firmament-0ff3c30621589f9e6d1d05d146adf5952382db34.tar.gz firmament-0ff3c30621589f9e6d1d05d146adf5952382db34.tar.bz2 firmament-0ff3c30621589f9e6d1d05d146adf5952382db34.tar.lz firmament-0ff3c30621589f9e6d1d05d146adf5952382db34.tar.xz firmament-0ff3c30621589f9e6d1d05d146adf5952382db34.tar.zst firmament-0ff3c30621589f9e6d1d05d146adf5952382db34.zip |
Mark exaxt sun direction in fancy fisheye plot
-rw-r--r-- | fancy_local_sunrise.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |