Team:Groningen/Graphs/model

From 2009.igem.org

(Difference between revisions)
Line 10: Line 10:
axes: {x: {title: "Dit is de X as", minorLabels: false}, y: {title: "Dit is de Y as", vertical: true} },
axes: {x: {title: "Dit is de X as", minorLabels: false}, y: {title: "Dit is de Y as", vertical: true} },
{{defaultPlot}}
{{defaultPlot}}
-
 
-
 
-
"var growthFactorAnswer=Number(document.getElementById('growthFactorAnswer').value);\
 
-
        var d=[{title:'As',data:[],args:[]}];\
 
-
        for(var i=0; i<=30; i++) {\
 
-
          var f=i;\
 
-
          d[0].data.push({x:f,y:f*f*growthFactorAnswer});\
 
-
        } d;",
 
-
width: '10cm',
 
-
height: '8cm',
 
-
axes: {x: {title: "Dit is de X as ???????", minorLabels: false}, y: {title: "Dit is de Y as????????", vertical: true} },
 
-
{{defaultPlot}}
 
-
 
}
}

Revision as of 09:42, 26 August 2009

{ script: "var growthFactor =Number(document.getElementById('growthFactor').value);\

        var d=[{title:'As',data:[],args:[]}];\
        for(var i=0; i<=30; i++) {\
          var f=i;\
          d[0].data.push({x:f,y:f*f*growthFactor});\
        } d;",

width: '10cm', height: '8cm', axes: {x: {title: "Dit is de X as", minorLabels: false}, y: {title: "Dit is de Y as", vertical: true} }, plots: { 'default': {type: 'Lines'} } }