Team:Groningen/Graphs/Totalmodel

From 2009.igem.org

(Difference between revisions)
m
m
 
Line 3: Line 3:
         var d=[{title:'AsIn',data:[],args:[]},{title:'AsEx',data:[],args:[]}];\
         var d=[{title:'AsIn',data:[],args:[]},{title:'AsEx',data:[],args:[]}];\
         if (modelData!=undefined) for(var i=0; i<modelData.Time.length; i++) {\
         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[0].data.push({x:modelData.Time[i],y:modelData.Asin[i]});\
-
           d[1].data.push({x:modelData.Time[i],y:modelData.AsEx[i]});\
+
           d[1].data.push({x:modelData.Time[i],y:modelData.Asex[i]});\
         } d;",
         } d;",
width: '10cm',
width: '10cm',

Latest revision as of 11:31, 16 September 2009

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