| 1 |
\documentclass{standalone} |
| 2 |
|
| 3 |
|
| 4 |
\usepackage{fontspec} |
| 5 |
\usepackage{sunpath} |
| 6 |
\usetikzlibrary{hobby} |
| 7 |
|
| 8 |
\usepackage{hyperref} |
| 9 |
|
| 10 |
\pagecolor{white} |
| 11 |
\begin{document} |
| 12 |
\begin{tikzpicture}[spradius=6,altitude mapping=equidistance] |
| 13 |
\tikzset{ |
| 14 |
sun path curve/.style={draw=red!20,thick}, |
| 15 |
sun point/.style={radius=2pt,draw=red,fill=red}, |
| 16 |
sun label/.style={below,fill=white,outer sep=4pt,text=red}, |
| 17 |
} |
| 18 |
\spcrosshair |
| 19 |
\spaltitudecircle{{0,10,...,80,85}} |
| 20 |
\spazimuthline{{0,10,...,360}}{85}{70} |
| 21 |
\spazimuthline{{0,5,...,360}}{80}{0} |
| 22 |
\spazimuthtick |
| 23 |
|
| 24 |
|
| 25 |
\coordinate (P3) at (sunpath cs:azi=156.854847,alt=31.593335); |
| 26 |
|
| 27 |
\path[sun point] (P3) circle; |
| 28 |
|
| 29 |
\node[sun label,anchor=270-156.854847] at (P3) {12:00}; |
| 30 |
|
| 31 |
\spaltitudelabel{{10,20,...,80,85}} |
| 32 |
\spazimuthlabel{{0,15,...,350}} |
| 33 |
\spgeodirection |
| 34 |
\end{tikzpicture} |
| 35 |
\end{document} |
| 36 |
|