Location: Incorporation of sarcolemmal calcium transporters into the Shorten et al. (2007) model of skeletal muscle @ 85f69fcc4338 / Fig07-plot.py

Author:
David Nickerson <david.nickerson@gmail.com>
Date:
2020-08-25 16:27:12+12:00
Desc:
adding scripts to reproduce figure 7
Permanent Source URI:
https://models.cellml.org/workspace/5c6/rawfile/85f69fcc43380c159515378da1244c3a9b818814/Fig07-plot.py

import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import sys
import os

data = pd.read_csv('Fig07.csv')

x = []
y = []
nu_SR_values = [4.875, 15, 25, 35]
for nu_SR in nu_SR_values:
    d = data[str(nu_SR)].iloc[-11000:].max()
    x.append(nu_SR)
    y.append(d)

plt.plot(x, y)
plt.show()