Created
October 19, 2016 11:32
-
-
Save sighingnow/96946f539342085a0759474d5389af7a to your computer and use it in GitHub Desktop.
Night Hemispheres in Mathematica.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* set geography data server *) | |
server := "http://www.staremapy.cz/naturalearth/`1`/`2`/`3`.png" | |
(* plot *) | |
GeoGraphics[{GeoStyling[Opacity[0.5], GeoServer -> server], | |
NightHemisphere[]}, | |
GeoBackground -> GeoStyling["ReliefMap", GeoServer -> server]] | |
(* more simple graph *) | |
GeoGraphics[{NightHemisphere[Now], Red, Point[$GeoLocation]}] | |
(* global night hemispheres *) | |
GeoGraphics[{ | |
GeoStyling[Opacity[.5]], NightHemisphere[], | |
RGBColor[0.5, 0., 0.], Thickness[0.007], PointSize[.02], | |
Point[$GeoLocation], GeoPath["ArcticCircle"], | |
GeoPath["AntarcticCircle"] | |
}, GeoRange -> "World", GeoProjection -> "LambertAzimuthal", | |
GeoBackground -> GeoStyling["ReliefMap"]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment