Team:Groningen/Graphs/DensityLimit

From 2009.igem.org

Revision as of 12:37, 9 September 2009 by Jaspervdg (Talk | contribs)

{ script: "var rhomedium=Number(document.getElementById('rhomedium').value),\

            rhovesicle=Number(document.getElementById('rhovesicle').value),\
            rhocell=Number(document.getElementById('rhocell').value);\
        var d=[{title:,data:[],args:[]}];\
        for(var i=0; i<=50; i++) {\
          var f=10*i+1000;\
          d[0].data.push({x:f,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'} } }