Team:Groningen/Graphs/Test

From 2009.igem.org

(Difference between revisions)
(Make the test graph's page show an example of the graph.)
 
(17 intermediate revisions not shown)
Line 1: Line 1:
-
<includeonly>{
+
{
-
datasource: 'http://spreadsheets.google.com/pub?key=rRnyFyi-bgqsjT3SdJBdKKw',
+
datatable: '/Team:Groningen/Tables/Test',
width: '8cm',
width: '8cm',
height: '5cm',
height: '5cm',
-
axes: {x: {title: 'time(s)'}, y: {title: 'concentration (µM)', vertical: true} },
 
-
plots: {'': {type: 'Lines'} },
 
series: [
series: [
-
  {x: 0, y: 1, {{:Team:Groningen/Styles/Substance1}} },
+
/* List of data series */
-
  {x: 0, y: 2}
+
  {x: 0, y: 1, {{:Team:Groningen/Styles/Substance1}} }, // Uses a style
-
]
+
  {x: 0, y: 2},
-
}</includeonly>
+
{x: 0, yf: 'cell(1,0)+cell(2,0)', title: 'sum'},
-
<noinclude>
+
{x: 0, yf: '(cell(1,1)-cell(1,-1))/(cell(0,1)-cell(0,-1))', title: 'd/dt s1'}
-
An example of this graph:
+
],
-
{{graph|{{FULLPAGENAME}}#top}}
+
{{defaultAxes|xtitle=time (s)|ytitle=concentration (µM)}},
-
{{GraphHeader}}</noinclude>
+
{{defaultPlot}}
 +
}

Latest revision as of 07:49, 31 July 2009

{ datatable: '/Team:Groningen/Tables/Test', 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(1,0)+cell(2,0)', title: 'sum'},
{x: 0, yf: '(cell(1,1)-cell(1,-1))/(cell(0,1)-cell(0,-1))', title: 'd/dt s1'}

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