Team:Groningen/Graphs/Test

From 2009.igem.org

(Difference between revisions)
m (Another style of comment.)
(Added a per-value function.)
Line 6: Line 6:
  /* List of data series */
  /* List of data series */
  {x: 0, y: 1, {{:Team:Groningen/Styles/Substance1}} }, // Uses a style
  {x: 0, y: 1, {{:Team:Groningen/Styles/Substance1}} }, // Uses a style
-
  {x: 0, y: 2}
+
  {x: 0, y: 2},
 +
{x: 0, yf: 'cell("substance 1",0)+cell("substance 2",0)'}
],
],
{{defaultAxes|xtitle=time (s)|ytitle=concentration (µM)}},
{{defaultAxes|xtitle=time (s)|ytitle=concentration (µM)}},
{{defaultPlot}}
{{defaultPlot}}
}
}

Revision as of 10:47, 23 July 2009

{ datasource: 'http://spreadsheets.google.com/pub?key=rRnyFyi-bgqsjT3SdJBdKKw', width: '8cm', height: '5cm', series: [

/* List of data series */
{x: 0, y: 1, stroke: {color: 'blue'} }, // Uses a style
{x: 0, y: 2},
{x: 0, yf: 'cell("substance 1",0)+cell("substance 2",0)'}

], axes: {x: {title: "time (s)" }, y: {title: "concentration (µM)", vertical: true} }, plots: { 'default': {type: 'Lines'} } }