Skip to content

Commit

Permalink
figure 5 ylim updated
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawal-aditi committed Feb 2, 2024
1 parent 82ac248 commit 8dc4532
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Binary file modified figures/figure5.pdf
Binary file not shown.
7 changes: 5 additions & 2 deletions figures/figure5.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
for i in range(4):
for j in range(3):
sub[i].append(fig.add_subplot(gs[i, j]))
sub[i][j].set_ylim(-0.2, 1)
sub[i][j].axhline(y=0, lw = 0.5, color = 'black')
if j == 0:
if i == 0:
sub[i][j].set_ylabel('310 K, INaCa On\nRundown')
Expand All @@ -46,7 +46,7 @@
sub[i][j].set_xlabel('Time (s)')

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

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

for i in range(4):
for j in range(3):
sub[i][j].set_ylim(-1, 1)

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

0 comments on commit 8dc4532

Please sign in to comment.