Function Repository Resource:

AnalemmaPlot

Source Notebook

Plot the trajectory of the azimuth and altitude of the solar position over a year

Contributed by: Sander Huisman

ResourceFunction["AnalemmaPlot"][location, year, time, timezone]

Plots the analemma of the sun for location for the year year at time of the day for a timezone timezone.

Details

ResourceFunction["AnalemmaPlot"] accepts all the options of ListPlot.

Examples

Basic Examples (2) 

Plots the 2023 analemma at the Royal Observatory in Greenwich at noon:

In[1]:=
ResourceFunction["AnalemmaPlot"][
 Entity["Building", "RoyalObservatoryGreenwich::gc32h"], 2023, 12, Automatic]
Out[1]=

Plot the 2021 analemma curve at 14:00 in the local timezone:

In[2]:=
ResourceFunction["AnalemmaPlot"][
 Entity["City", {"Enschede", "Overijssel", "Netherlands"}], 2021, 14, Automatic]
Out[2]=

Options (1) 

Apply options from ListPlot:

In[3]:=
ResourceFunction["AnalemmaPlot"][
 Entity["City", {"Enschede", "Overijssel", "Netherlands"}], 2021, 14, Automatic, PlotStyle -> {Red, Black, Green}, AspectRatio -> 1, PlotRangePadding -> Scaled[0.1], PlotLabel -> "Home"]
Out[3]=

Publisher

SHuisman

Requirements

Wolfram Language 13.0 (December 2021) or above

Version History

  • 1.0.0 – 04 December 2023

Related Resources

License Information