Team:Groningen/Graphs/DensityLimit
From 2009.igem.org
(Difference between revisions)
(Now shows required fraction of vesicles.) |
m |
||
Line 1: | Line 1: | ||
{ | { | ||
script: "var rhomedium=Number(document.getElementById('rhomedium').value),\ | script: "var rhomedium=Number(document.getElementById('rhomedium').value),\ | ||
- | rhovesicle=Number(document.getElementById('rhovesicle | + | rhovesicle=Number(document.getElementById('rhovesicle').value);\ |
- | + | ||
var d=[{title:'',data:[],args:[]}];\ | var d=[{title:'',data:[],args:[]}];\ | ||
for(var i=0; i<=50; i++) {\ | for(var i=0; i<=50; i++) {\ | ||
- | var | + | var rhocell=10*i+1000;\ |
- | d[0].data.push({x: | + | d[0].data.push({x:rhocell,y:1.0 - (rhomedium - rhovesicle)/(rhocell - rhovesicle)});\ |
} d;", | } d;", | ||
width: '10cm', | width: '10cm', |
Revision as of 12:38, 9 September 2009
{ 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'} } }