Team:Groningen/Graphs/DensityLimit
From 2009.igem.org
{ script: "var rhomedium=Number(document.getElementById('rhomedium').value),\
rhovesicle=Number(document.getElementById('rhovesicle').value);\ var d=[{title:,data:[],args:[]}];\ for(var i=0; i<=50; i++) {\ var rhocell=10*i+1000;\ d[0].data.push({x:rhocell,y:1.0 - (rhomedium - rhovesicle)/(rhocell - rhovesicle)});\ } d;",
width: '10cm', height: '8cm', axes: {x: {title: "cell density (kg/m³)", minorLabels: false}, y: {title: "volume fraction of vesicles", vertical: true, min:0, max:1} }, plots: { 'default': {type: 'Lines'} } }