Team:Groningen/Graphs/DensityLimit
From 2009.igem.org
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
{ | { | ||
- | script: "var rhomedium= | + | script: "var rhomedium=Number(document.getElementById('rhomedium').value), rhovesicle=Number(document.getElementById('rhovesicle').value); var d=[{title:'As',data:[],args:[]}]; for(var i=0; i<=50; i++) { var f=i/100; d[0].data.push({x:f,y:(rhomedium-f*rhovesicle)/(1-f)}); } d;", |
width: '10cm', | width: '10cm', | ||
height: '8cm', | height: '8cm', |
Revision as of 08:53, 8 July 2009
{ script: "var rhomedium=Number(document.getElementById('rhomedium').value), rhovesicle=Number(document.getElementById('rhovesicle').value); var d=[{title:'As',data:[],args:[]}]; for(var i=0; i<=50; i++) { var f=i/100; d[0].data.push({x:f,y:(rhomedium-f*rhovesicle)/(1-f)}); } d;", width: '10cm', height: '8cm', axes: {x: {title: "volume fraction of vesicles", minorLabels: false}, y: {title: "maximum cell density (kg/m3)", vertical: true} }, plots: { 'default': {type: 'Lines'} } }