Team:Groningen/Graphs/Totalmodel

From 2009.igem.org

Revision as of 11:31, 16 September 2009 by Annelies (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{ script: "var modelData=document.getElementById('Totalmodel').data;\

        var d=[{title:'AsIn',data:[],args:[]},{title:'AsEx',data:[],args:[]}];\
        if (modelData!=undefined) for(var i=0; i<modelData.Time.length; i++) {\
          d[0].data.push({x:modelData.Time[i],y:modelData.Asin[i]});\
          d[1].data.push({x:modelData.Time[i],y:modelData.Asex[i]});\
        } d;",

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