Compare commits

..

No commits in common. "6eb06d98a6fd70324ef2ab2b582b8b2bad87ee57" and "15ec7b561f24b2af38153a1633a5bec1a9f472e9" have entirely different histories.

View file

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