Compare commits
2 commits
15ec7b561f
...
6eb06d98a6
Author | SHA1 | Date | |
---|---|---|---|
6eb06d98a6 | |||
4071c73bd1 |
1 changed files with 2 additions and 2 deletions
|
@ -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 = 0.6
|
SKEW = 1.0
|
||||||
|
|
||||||
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, 10):
|
for temp in range(-140, 140, 5):
|
||||||
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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue