Skip to content

Commit 8dc4532

Browse files
committed
figure 5 ylim updated
1 parent 82ac248 commit 8dc4532

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

figures/figure5.pdf

-272 Bytes
Binary file not shown.

figures/figure5.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
for i in range(4):
2727
for j in range(3):
2828
sub[i].append(fig.add_subplot(gs[i, j]))
29-
sub[i][j].set_ylim(-0.2, 1)
29+
sub[i][j].axhline(y=0, lw = 0.5, color = 'black')
3030
if j == 0:
3131
if i == 0:
3232
sub[i][j].set_ylabel('310 K, INaCa On\nRundown')
@@ -46,7 +46,7 @@
4646
sub[i][j].set_xlabel('Time (s)')
4747

4848
if j == 1 or j == 2:
49-
ticks = [1, 0.75, 0.5, 0.25, 0]
49+
ticks = [-2, -1, 0, 1]
5050
sub[i][j].set_yticks(ticks = ticks, labels = [])
5151

5252
if i == 0 or i == 1 or i == 2:
@@ -118,6 +118,9 @@
118118
plots[0].text(0.05, 0.9, str(count_on), transform = plots[0].transAxes)
119119
plots[1].text(0.05, 0.9, str(count_off), transform = plots[1].transAxes)
120120

121+
for i in range(4):
122+
for j in range(3):
123+
sub[i][j].set_ylim(-1, 1)
121124

122125
plt.tight_layout()
123126
fig.savefig('figures/figure5.pdf', facecolor='w', transparent=False)

0 commit comments

Comments
 (0)