Team:Groningen/Graphs/DensityLimit

From 2009.igem.org

Revision as of 11:24, 13 July 2009 by Jaspervdg (Talk | contribs)

{ 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'} } }