# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'solar_path.1.png' set border 4096 front lt black linewidth 1.000 dashtype solid set dummy t, y set format r "%.0f°" set angles degrees set grid polar 30.000000 set grid noxtics nomxtics noytics nomytics noztics nomztics rtics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500 set raxis set theta clockwise top unset key set label 1 "Solar path at\nLatitude 47.67 N" at screen 0.02, 0.95, 0 left norotate font ":Bold,10" back nopoint set polar set polar grid 24, 10 qnorm 1 theta [0:360] r [0:*] set size ratio 1 1,1 set style data lines unset xtics unset ytics set rtics norangelimit 30 set ttics axis in scale 1,0.5 nomirror norotate autojustify set ttics norangelimit autofreq font ":Bold" set ttics add ("W" -90.0000, "N" 0.00000, "E" 90.0000, "S" 180.000) set timestamp "Seattle - %d %b %Y" set timestamp offset character 1, 1, 0 font "" textcolor lt -1 norotate set trange [ * : * ] noreverse nowriteback set urange [ * : * ] noreverse nowriteback set vrange [ * : * ] noreverse nowriteback set xrange [ -90.0000 : 90.0000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -90.0000 : 90.0000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rlabel "Altitude" set rlabel offset character -2, 0, 0 font ":Bold" textcolor lt -1 norotate set rrange [ 90.0000 : 0.00000 ] noreverse nowriteback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault h(t) = 360. * t / Day Altitude(t) = asin( sin(Dec) * sin(Phi) + cos(Dec) * cos(Phi) * cos(h(t)) ) cosAzi(t) = ( sin(Dec) * sin(Phi) - cos(Dec) * cos(h(t)) * sin(Phi) ) / cos(Altitude(t)) sinAzi(t) = ( -cos(Dec) * sin(h(t)) ) / cos(Altitude(t)) Azimuth(t) = atan2( sinAzi(t), cosAzi(t) ) I = {0.0, 1.0} VERSION = "gnuplot version 6.0.5" NO_ANIMATION = 1 save_encoding = "utf8" Latitude = 47.67 Longitude = -122.28 Date = "09-07-2026" Minute = 60.0 Hour = 3600.0 Day = 86400.0 TimeFormat = "%d-%m-%Y %H:%M" Phi = 47.67 n = 9685.5 L = 106.947892699998 g = 183.559705650001 lambda = 106.831471740741 eps = 23.4351258 RAsc = 108.248169960521 Dec = 22.3753621124427 daylength = 229.405933847442 corr = 5.22 rise = 26275.912061693 set = 28781.512061693 sunlight = "15 h 17 m" sunrise = "4:42" sunset = "19:59" array dummy[150] = [-43200.0,-42600.0,-42000.0,-41400.0,-40800.0,-40200.0,-39600.0,-39000.0,-38400.0,-37800.0,-37200.0,-36600.0,-36000.0,-35400.0,-34800.0,-34200.0,-33600.0,-33000.0,-32400.0,-31800.0,-31200.0,-30600.0,-30000.0,-29400.0,-28800.0,-28200.0,-27600.0,-27000.0,-26400.0,-25800.0,-25200.0,-24600.0,-24000.0,-23400.0,-22800.0,-22200.0,-21600.0,-21000.0,-20400.0,-19800.0,-19200.0,-18600.0,-18000.0,-17400.0,-16800.0,-16200.0,-15600.0,-15000.0,-14400.0,-13800.0,-13200.0,-12600.0,-12000.0,-11400.0,-10800.0,-10200.0,-9600.0,-9000.0,-8400.0,-7800.0,-7200.0,-6600.0,-6000.0,-5400.0,-4800.0,-4200.0,-3600.0,-3000.0,-2400.0,-1800.0,-1200.0,-600.0,0.0,600.0,1200.0,1800.0,2400.0,3000.0,3600.0,4200.0,4800.0,5400.0,6000.0,6600.0,7200.0,7800.0,8400.0,9000.0,9600.0,10200.0,10800.0,11400.0,12000.0,12600.0,13200.0,13800.0,14400.0,15000.0,15600.0,16200.0,16800.0,17400.0,18000.0,18600.0,19200.0,19800.0,20400.0,21000.0,21600.0,22200.0,22800.0,23400.0,24000.0,24600.0,25200.0,25800.0,26400.0,27000.0,27600.0,28200.0,28800.0,29400.0,30000.0,30600.0,31200.0,31800.0,32400.0,33000.0,33600.0,34200.0,34800.0,35400.0,36000.0,36600.0,37200.0,37800.0,38400.0,39000.0,39600.0,40200.0,40800.0,41400.0,42000.0,42600.0,43200.0,43800.0,44400.0,45000.0,45600.0,46200.0] array winter_alt[150] = [-65.765748681478,-65.6837943791762,-65.4396271016244,-65.0381686135367,-64.4871078384737,-63.7962434525089,-62.9767489438565,-62.0404704378976,-60.9993333541814,-59.864893469824,-58.6480344125534,-57.3587925763162,-56.0062813665154,-54.5986860240349,-53.1433041920547,-51.6466129566643,-50.1143485731071,-48.5515896849455,-46.9628383405458,-45.352095594331,-43.7229301458821,-42.0785395285917,-40.4218039927283,-38.7553335760766,-37.0815090206979,-35.402517247244,-33.7203820855871,-32.0369909125335,-30.3541177829269,-28.6734435708213,-26.996573569051,-25.3250529318099,-23.6603802872678,-22.0040197961802,-20.3574118876448,-18.7219828640655,-17.0991535333041,-15.4903469961869,-13.8969956912984,-12.3205477756754,-10.762472899048,-9.22426741016488,-7.70745901608078,-6.21361089874912,-4.74432527761764,-3.30124639201754,-1.88606286291845,-0.500509380140067,0.853632351472994,2.17453348481253,3.46031880992474,4.70906853550125,5.91882117276241,7.08757762337096,8.21330656986737,9.29395125856388,10.3274377499402,11.311684689503,12.2446146221519,13.1241668350033,13.9483116674782,14.7150661739785,15.4225109650763,16.0688079900359,16.6522189596962,17.1711240479955,17.6240404570231,18.0096403889709,18.3267679431535,18.5744544511858,18.7519317811978,18.8586431838716,18.894251318522,18.8586431838716,18.7519317811978,18.5744544511858,18.3267679431535,18.0096403889709,17.6240404570231,17.1711240479955,16.6522189596962,16.0688079900359,15.4225109650763,14.7150661739785,13.9483116674782,13.1241668350033,12.2446146221519,11.311684689503,10.3274377499402,9.29395125856388,8.21330656986737,7.08757762337096,5.91882117276241,4.70906853550125,3.46031880992474,2.17453348481253,0.853632351472994,-0.500509380140067,-1.88606286291845,-3.30124639201754,-4.74432527761764,-6.21361089874912,-7.70745901608078,-9.22426741016488,-10.762472899048,-12.3205477756754,-13.8969956912984,-15.4903469961869,-17.0991535333041,-18.7219828640655,-20.3574118876448,-22.0040197961802,-23.6603802872678,-25.3250529318099,-26.996573569051,-28.6734435708213,-30.3541177829269,-32.0369909125335,-33.7203820855871,-35.402517247244,-37.0815090206979,-38.7553335760766,-40.4218039927283,-42.0785395285917,-43.7229301458821,-45.352095594331,-46.9628383405458,-48.5515896849455,-50.1143485731071,-51.6466129566643,-53.1433041920547,-54.5986860240349,-56.0062813665154,-57.3587925763162,-58.6480344125534,-59.864893469824,-60.9993333541814,-62.0404704378976,-62.9767489438565,-63.7962434525089,-64.4871078384737,-65.0381686135367,-65.4396271016244,-65.6837943791762,-65.765748681478,-65.6837943791762,-65.4396271016244,-65.0381686135367,-64.4871078384737,-63.7962434525089] array winter_azi[150] = [1.67536640989715e-14,5.95580651902212,11.8327432211824,17.5591132524744,23.0760184324658,28.3404784664604,33.3259247058107,38.0206314836446,42.4249501067636,46.5481601672893,50.4055122585955,54.0157650184025,57.3993080675428,60.5768343946388,63.5684673180877,66.3932336923463,69.0687849064058,71.6112860129873,74.0354130719541,76.3544159349872,78.5802171842667,80.7235279127276,82.793968100251,84.8001841828654,86.7499596371406,88.6503164910128,90.5076069843453,92.32759539472,94.1155304953073,95.8762093441664,97.6140331997618,99.3330563697425,101.037028764184,102.729432862891,104.413515733048,106.092316656961,107.76869085495,109.445329718278,111.124777902871,112.809447576887,114.501630064203,116.203505081361,117.917147727311,119.644533353239,121.387540413747,123.147951380738,124.927451787606,126.727627464081,128.549960021625,130.395820656108,132.266462348922,134.163010570272,136.086452619158,138.037625773637,140.017204471842,142.025686798018,144.06338060693,146.130389681997,148.226600384235,150.351669306352,152.505012494303,154.685796831691,156.892934194843,159.125078972539,161.380629499501,163.65773387343,165.954300510592,168.268013646219,170.596353808163,172.93662309342,175.285974868293,177.641447307537,180.0,-177.641447307537,-175.285974868293,-172.93662309342,-170.596353808163,-168.268013646219,-165.954300510592,-163.65773387343,-161.380629499501,-159.125078972539,-156.892934194843,-154.685796831691,-152.505012494303,-150.351669306352,-148.226600384235,-146.130389681997,-144.06338060693,-142.025686798018,-140.017204471842,-138.037625773637,-136.086452619158,-134.163010570272,-132.266462348922,-130.395820656108,-128.549960021625,-126.727627464081,-124.927451787606,-123.147951380738,-121.387540413747,-119.644533353239,-117.917147727311,-116.203505081361,-114.501630064203,-112.809447576887,-111.124777902871,-109.445329718278,-107.76869085495,-106.092316656961,-104.413515733048,-102.729432862891,-101.037028764184,-99.3330563697425,-97.6140331997618,-95.8762093441664,-94.1155304953073,-92.32759539472,-90.5076069843453,-88.6503164910128,-86.7499596371406,-84.8001841828654,-82.793968100251,-80.7235279127276,-78.5802171842667,-76.3544159349872,-74.0354130719541,-71.6112860129873,-69.0687849064058,-66.3932336923463,-63.5684673180877,-60.5768343946388,-57.3993080675428,-54.0157650184025,-50.4055122585955,-46.5481601672893,-42.4249501067636,-38.0206314836446,-33.3259247058107,-28.3404784664604,-23.0760184324658,-17.5591132524744,-11.8327432211824,-5.95580651902212,-1.67536640989715e-14,5.95580651902209,11.8327432211823,17.5591132524743,23.0760184324658,28.3404784664604] time = 46800.0 array summer_alt[150] = [-18.8958928585141,-18.8602839328933,-18.7535701650568,-18.5760889187476,-18.3283969810921,-18.0112625356211,-17.6256543150355,-17.1727282955502,-16.6538123600958,-16.0703893995657,-15.424079339086,-14.716620571203,-13.94985125267,-13.1256908799968,-12.2461225055118,-11.3131758949369,-10.3289118636674,-9.29540796583712,-8.21474565084164,-7.08899894850254,-5.92022469790834,-4.71045429687128,-3.46168691901913,-2.17588412345986,-0.854965767063038,0.499192879150627,1.88476291116613,3.29996257101027,4.74305711909565,6.21235788760284,7.70622059280821,9.22304297285672,10.7612618048935,12.319349341985,13.8958091960403,15.4891716780366,17.0979885912044,18.7208274562955,20.356265130394,22.0028807616238,23.6592480011381,25.3239263704595,26.9954516560045,28.6723251728148,30.3530017054429,32.0358758948472,33.7192667953581,35.401400274712,37.0803888725772,38.7542086692977,40.4206726482483,42.0773999655999,43.7217804768698,45.3509338216893,46.9616623556171,48.5503972707987,50.1131374127493,51.6453806489609,53.14204827829,54.59740402879,56.0049708572687,57.3574512467093,58.646660194279,59.8634846770746,60.9978888618186,62.0389898891481,62.9752329747988,63.794693909076,64.4855279490631,65.0365630708538,65.4380020073902,65.6821570207464,65.7641071414859,65.6821570207464,65.4380020073902,65.0365630708538,64.4855279490631,63.794693909076,62.9752329747988,62.0389898891481,60.9978888618186,59.8634846770746,58.646660194279,57.3574512467093,56.0049708572687,54.59740402879,53.14204827829,51.6453806489609,50.1131374127493,48.5503972707987,46.9616623556171,45.3509338216893,43.7217804768698,42.0773999655999,40.4206726482483,38.7542086692977,37.0803888725772,35.401400274712,33.7192667953581,32.0358758948472,30.3530017054429,28.6723251728148,26.9954516560045,25.3239263704595,23.6592480011381,22.0028807616238,20.356265130394,18.7208274562955,17.0979885912044,15.4891716780366,13.8958091960403,12.319349341985,10.7612618048935,9.22304297285672,7.70622059280821,6.21235788760284,4.74305711909565,3.29996257101027,1.88476291116613,0.499192879150627,-0.854965767063038,-2.17588412345986,-3.46168691901913,-4.71045429687128,-5.92022469790834,-7.08899894850254,-8.21474565084164,-9.29540796583712,-10.3289118636674,-11.3131758949369,-12.2461225055118,-13.1256908799968,-13.94985125267,-14.716620571203,-15.424079339086,-16.0703893995657,-16.6538123600958,-17.1727282955502,-17.6256543150355,-18.0112625356211,-18.3283969810921,-18.5760889187476,-18.7535701650568,-18.8602839328933,-18.8958928585141,-18.8602839328933,-18.7535701650568,-18.5760889187476,-18.3283969810921,-18.0112625356211] array summer_azi[150] = [6.62131327766097e-15,2.35860866398087,4.71413684590796,7.06354391047375,9.40386781745307,11.7322617314914,14.0460275648762,16.3426456807292,18.6198001718465,20.8753993359434,23.1075911769108,25.3147739605644,27.4956020312195,29.6489872441673,31.77409648396,33.8703458177032,35.9373918774479,37.9751210796017,39.9836372768394,41.9632484048887,43.9144526386054,45.8379245144528,47.7345014147808,49.6051707472751,51.4510580938484,53.2734165494489,55.073617424367,56.8531424445508,58.6135775536347,60.3566083978458,62.0840175604777,63.797683605812,65.499581992815,67.1917879261918,68.8764812261159,70.5559533178838,72.2326164687488,73.9090154312451,75.5878416905056,77.2719505575868,78.9643814018281,80.6683813729083,82.3874330274224,84.1252863449142,85.8859956929844,87.6739623775778,89.4939834878257,91.3513078063476,93.2516995916873,95.2015110271816,97.2077640350038,99.2782419214453,101.421590867962,103.647430490099,105.966471374116,108.390635411895,110.933171529542,113.608754562574,116.433547964563,119.425201063,122.602738093801,125.986279108219,129.596513110355,133.453825006428,137.576968083178,141.981187213833,146.675756415114,151.661022375376,156.925256857092,162.44189190643,168.167952214704,174.044549277307,-180.0,-174.044549277307,-168.167952214704,-162.44189190643,-156.925256857092,-151.661022375376,-146.675756415114,-141.981187213833,-137.576968083178,-133.453825006428,-129.596513110355,-125.986279108219,-122.602738093801,-119.425201063,-116.433547964563,-113.608754562574,-110.933171529542,-108.390635411895,-105.966471374116,-103.647430490099,-101.421590867962,-99.2782419214453,-97.2077640350038,-95.2015110271816,-93.2516995916873,-91.3513078063476,-89.4939834878257,-87.6739623775778,-85.8859956929844,-84.1252863449142,-82.3874330274224,-80.6683813729083,-78.9643814018281,-77.2719505575868,-75.5878416905056,-73.9090154312451,-72.2326164687488,-70.5559533178838,-68.8764812261159,-67.1917879261918,-65.499581992815,-63.797683605812,-62.0840175604777,-60.3566083978458,-58.6135775536347,-56.8531424445508,-55.073617424367,-53.2734165494489,-51.4510580938484,-49.6051707472751,-47.7345014147808,-45.8379245144528,-43.9144526386054,-41.9632484048887,-39.9836372768394,-37.9751210796017,-35.9373918774479,-33.8703458177032,-31.77409648396,-29.6489872441673,-27.4956020312195,-25.3147739605644,-23.1075911769108,-20.8753993359434,-18.6198001718465,-16.3426456807292,-14.0460275648762,-11.7322617314914,-9.40386781745307,-7.06354391047375,-4.71413684590796,-2.35860866398087,-6.62131327766097e-15,2.35860866398086,4.71413684590795,7.06354391047373,9.40386781745308,11.7322617314914] array today_alt[150] = [-19.9546378875573,-19.9185155055326,-19.8102664877999,-19.6302434292548,-19.3790280859638,-19.0574227453521,-18.6664385764886,-18.2072813598234,-17.681335066758,-17.0901438038831,-16.4353926540985,-15.7188879387272,-14.9425373944161,-14.1083307105623,-13.2183208122903,-12.2746062058009,-11.2793146320378,-10.2345882051958,-9.14257014790012,-8.00539317724598,-6.82516954673957,-5.60398270916053,-4.34388053446557,-3.04686999457626,-1.71491321241676,-0.349924764878723,1.04622987259421,2.47173484945496,3.92482353488305,5.40377727825518,6.90692341836897,8.43263261190653,9.97931553795051,11.5454190209374,13.1294215994171,14.7298285524385,16.3451663792458,17.9739767111125,19.6148096163223,21.2662162402454,22.9267407017561,24.5949111444791,26.2692298160273,27.9481620199763,29.6301237532592,31.3134678054452,32.9964680555794,34.6773016567438,36.3540287485359,38.02456928432,39.6866765057461,41.3379065461067,42.9755836043077,44.5967601152601,46.1981713704552,47.7761841452769,49.3267391133049,50.8452872389201,52.3267210300235,53.7653026234277,55.1545923124872,56.4873834624776,57.7556529061866,58.9505398474442,60.0623707074884,61.080751395679,61.9947505927109,62.7931953943456,63.4650912028027,64.0001588656333,64.3894541871782,64.6260032678069,64.7053621124427,64.6260032678069,64.3894541871782,64.0001588656333,63.4650912028027,62.7931953943456,61.9947505927109,61.080751395679,60.0623707074884,58.9505398474442,57.7556529061866,56.4873834624776,55.1545923124872,53.7653026234277,52.3267210300235,50.8452872389201,49.3267391133049,47.7761841452769,46.1981713704552,44.5967601152601,42.9755836043077,41.3379065461067,39.6866765057461,38.02456928432,36.3540287485359,34.6773016567438,32.9964680555794,31.3134678054452,29.6301237532592,27.9481620199763,26.2692298160273,24.5949111444791,22.9267407017561,21.2662162402454,19.6148096163223,17.9739767111125,16.3451663792458,14.7298285524385,13.1294215994171,11.5454190209374,9.97931553795051,8.43263261190653,6.90692341836897,5.40377727825518,3.92482353488305,2.47173484945496,1.04622987259421,-0.349924764878723,-1.71491321241676,-3.04686999457626,-4.34388053446557,-5.60398270916053,-6.82516954673957,-8.00539317724598,-9.14257014790012,-10.2345882051958,-11.2793146320378,-12.2746062058009,-13.2183208122903,-14.1083307105623,-14.9425373944161,-15.7188879387272,-16.4353926540985,-17.0901438038831,-17.681335066758,-18.2072813598234,-18.6664385764886,-19.0574227453521,-19.3790280859638,-19.6302434292548,-19.8102664877999,-19.9185155055326,-19.9546378875573,-19.9185155055326,-19.8102664877999,-19.6302434292548,-19.3790280859638,-19.0574227453521] array today_azi[150] = [6.7234626590726e-15,2.39497824046882,4.78672382091935,7.17204707844361,9.54784312008841,11.9111312140741,14.2590907700685,16.5890930575544,18.8987280254596,21.1858258195535,23.4484728298809,25.6850223233889,27.8940999143501,30.0746042882347,32.2257037182462,34.3468289964525,36.437663445119,38.4981306827498,40.5283807992996,42.5287755526718,44.4998731406873,46.4424130354841,48.3573012962734,50.2455967060352,52.108498011531,53.9473324863892,55.7635459855417,57.5586946167827,59.3344381219288,61.0925350358392,62.8348396759637,64.5633010075691,66.2799634297169,67.986969533821,69.6865648996833,71.3811050128298,73.0730644114387,74.7650482009295,76.4598061092115,78.1602492955613,79.8694701709217,81.5907655367509,83.3276634027103,85.0839538991411,86.8637247561078,88.6714018728206,90.5117955430175,92.3901529230907,94.3122173143681,96.2842947544898,98.3133282382862,100.406979560995,102.573718215451,104.822915863723,107.164943477815,109.611266076334,112.174526771492,114.868607201461,117.708644915754,120.710979481456,123.892987758946,127.272755295585,130.86851665971,134.697786566039,138.77610311136,143.115326152947,147.72149354648,152.592350584941,157.714836304326,163.063006866431,168.597027536525,174.263858756622,-180.0,-174.263858756622,-168.597027536525,-163.063006866431,-157.714836304326,-152.592350584941,-147.72149354648,-143.115326152947,-138.77610311136,-134.697786566039,-130.86851665971,-127.272755295585,-123.892987758946,-120.710979481456,-117.708644915754,-114.868607201461,-112.174526771492,-109.611266076334,-107.164943477815,-104.822915863723,-102.573718215451,-100.406979560995,-98.3133282382862,-96.2842947544898,-94.3122173143681,-92.3901529230907,-90.5117955430175,-88.6714018728206,-86.8637247561078,-85.0839538991411,-83.3276634027103,-81.5907655367509,-79.8694701709217,-78.1602492955613,-76.4598061092115,-74.7650482009295,-73.0730644114387,-71.3811050128298,-69.6865648996833,-67.986969533821,-66.2799634297169,-64.5633010075691,-62.8348396759637,-61.0925350358392,-59.3344381219288,-57.5586946167827,-55.7635459855417,-53.9473324863892,-52.108498011531,-50.2455967060352,-48.3573012962734,-46.4424130354841,-44.4998731406873,-42.5287755526718,-40.5283807992996,-38.4981306827498,-36.437663445119,-34.3468289964525,-32.2257037182462,-30.0746042882347,-27.8940999143501,-25.6850223233889,-23.4484728298809,-21.1858258195535,-18.8987280254596,-16.5890930575544,-14.2590907700685,-11.9111312140741,-9.54784312008841,-7.17204707844361,-4.78672382091935,-2.39497824046882,-6.7234626590726e-15,2.3949782404688,4.78672382091934,7.1720470784436,9.54784312008842,11.9111312140741] today = "Today ☉ \n15 h 17 m\nof sunlight" ## Last datafile plotted: "@@" plot dummy using (winter_azi[$1]):(winter_alt[$1]) lw 2 title " Winter Solstice" at beg left, dummy using (summer_azi[$1]):(summer_alt[$1]) lw 2 title " Summer Solstice" at beg left, dummy using (today_azi[$1]):(today_alt[$1]) lw 2 title today at end right