(46) Day-light terminators and other sunlight parametersΒΆ

In this example show how the module solar is used to plot several terminator lines that depend on the location of the sun with respect to Earth. We also show how an EPS illustration can serve as a custom symbol to be plotted with plot.

#!/usr/bin/env bash
#               GMT EXAMPLE 46
# Purpose:      Illustrate use of solar to plot day/night terminators
# GMT modules:  solar, coast, plot

gmt begin ex46
	gmt coast -Rd -JKs0/25c -A5000 -W0.5p -N1/0.5p,gray -S175/210/255 -Bafg --MAP_FRAME_TYPE=plain
	gmt solar -Td+d2016-02-09T16:00:00 -Gnavy@95
	gmt solar -Tc+d2016-02-09T16:00:00 -Gnavy@85
	gmt solar -Tn+d2016-02-09T16:00:00 -Gnavy@80
	gmt solar -Ta+d2016-02-09T16:00:00 -Gnavy@80
	gmt solar -I+d2016-02-09T16:00:00 -C | gmt plot -Sk@sunglasses/1.5c
gmt end show

Day-light terminators.