Compare commits

..

2 commits

Author SHA1 Message Date
6eb06d98a6 Plot adiabats every 5°C 2025-03-12 21:17:31 -04:00
4071c73bd1 Go back to even 45° skew 2025-03-12 21:17:13 -04:00

View file

@ -22,7 +22,7 @@ TEMP_CENTER = 0 # degrees C
TEMP_STEP = 5
TEMP_STEP_COUNT = math.ceil(TEMP_RANGE / TEMP_STEP)
SKEW = 0.6
SKEW = 1.0
def clamp(value, lowest, highest):
if value < lowest:
@ -138,7 +138,7 @@ class SkewTGraph():
cr.set_source_rgba(0.3, 0.1, 0, 0.2)
for temp in range(-140, 140, 10):
for temp in range(-140, 140, 5):
self.draw_adiabat(cr, x, y, temp, 1000.0, moist_lapse_rate)
cr.restore()