Color moist adiabats differently
This commit is contained in:
parent
5a22a5fd37
commit
9af9bd2b51
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue