Color moist adiabats differently

This commit is contained in:
XANTRONIX 2025-03-05 09:12:57 -05:00
parent 5a22a5fd37
commit 9af9bd2b51

View file

@ -148,11 +148,14 @@ class SkewTGraph():
x: float, x: float,
y: float): y: float):
cr.save() cr.save()
cr.set_source_rgba(1.0, 0.2, 0, 0.2) cr.set_source_rgba(1.0, 0.2, 0, 0.2)
for temp in range(-140, 140, 10): for temp in range(-140, 140, 10):
self.draw_adiabat(cr, x, y, temp, PRESSURE_MAX) self.draw_adiabat(cr, x, y, temp, PRESSURE_MAX)
cr.set_source_rgba(0.3, 0.1, 0, 0.2)
for temp in range(-140, 140, 10): for temp in range(-140, 140, 10):
self.draw_adiabat(cr, x, y, temp, PRESSURE_MAX, True) self.draw_adiabat(cr, x, y, temp, PRESSURE_MAX, True)