| 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=4] |
| 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=3pt,inner sep=0pt,text=red}, |
| 17 |
small alt label/.style={altitude label,font=\scriptsize\sffamily} |
| 18 |
} |
| 19 |
\spcrosshair |
| 20 |
\spaltitudecircle{{0,10,...,80,85}} |
| 21 |
\spazimuthline{{0,10,...,360}}{85}{70} |
| 22 |
\spazimuthline{{0,5,...,360}}{80}{0} |
| 23 |
\spazimuthtick |
| 24 |
|
| 25 |
\coordinate (P0) at (sunpath cs:azi=98.968673,alt=-0.208672); |
| 26 |
\coordinate (P1) at (sunpath cs:azi=102.009695,alt=2.035492); |
| 27 |
\coordinate (P2) at (sunpath cs:azi=126.513583,alt=19.499874); |
| 28 |
\coordinate (P3) at (sunpath cs:azi=156.854847,alt=31.593335); |
| 29 |
\coordinate (P4) at (sunpath cs:azi=192.292832,alt=33.425294); |
| 30 |
\coordinate (P5) at (sunpath cs:azi=224.708002,alt=24.034984); |
| 31 |
\coordinate (P6) at (sunpath cs:azi=250.626597,alt=7.619801); |
| 32 |
\coordinate (P7) at (sunpath cs:azi=260.810553,alt=-0.244637); |
| 33 |
\path[sun point] (P0) circle; |
| 34 |
\path[sun point] (P1) circle; |
| 35 |
\path[sun point] (P2) circle; |
| 36 |
\path[sun point] (P3) circle; |
| 37 |
\path[sun point] (P4) circle; |
| 38 |
\path[sun point] (P5) circle; |
| 39 |
\path[sun point] (P6) circle; |
| 40 |
\path[sun point] (P7) circle; |
| 41 |
\node[sun label,anchor=270-98.968673] at (P0) {07:44}; |
| 42 |
\node[sun label,anchor=270-102.009695] at (P1) {08:00}; |
| 43 |
\node[sun label,anchor=270-126.513583] at (P2) {10:00}; |
| 44 |
\node[sun label,anchor=270-156.854847] at (P3) {12:00}; |
| 45 |
\node[sun label,anchor=270-192.292832] at (P4) {14:00}; |
| 46 |
\node[sun label,anchor=270-224.708002] at (P5) {16:00}; |
| 47 |
\node[sun label,anchor=270-250.626597] at (P6) {18:00}; |
| 48 |
\node[sun label,anchor=270-260.810553] at (P7) {18:53}; |
| 49 |
\path[sun path curve] (P0) to [curve through={ (P1) .. (P2) .. (P3) .. (P4) .. (P5) .. (P6) }] (P7) ; |
| 50 |
|
| 51 |
\spaltitudelabel{{10,30,40,...,80,85}}[175][small alt label] |
| 52 |
\spazimuthlabel{{0,15,...,350}} |
| 53 |
\spgeodirection |
| 54 |
\end{tikzpicture} |
| 55 |
\end{document} |
| 56 |
|