Help:Charts

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
(New page: ==Charts at OWW== {| style="border #EEEEEE 1px solid;" | <lines title="Fluorescent Proteins" colors=336699,669933,993366 ylabel=5 xlabel legend grid=xy size=400x200> , CFP, GFP, RFP 1,...)
Current revision (01:11, 22 December 2008) (view source)
 
(12 intermediate revisions not shown.)
Line 1: Line 1:
-
==Charts at OWW==
+
See also: [[Help:Plots| Using Gnuplot on OWW.]]
 +
==Charts on OWW==
 +
* You can generate line, bars and pie charts on OWW directly via CSV (comma separated values) data. Below we have an example of each chart type and the example of the wiki code that generated it (random data used).
 +
 
 +
===Line chart===
{| style="border #EEEEEE 1px solid;"
{| style="border #EEEEEE 1px solid;"
|
|
-
<lines title="Fluorescent Proteins"
+
<lines title="Fluorescent Proteins"
colors=336699,669933,993366  
colors=336699,669933,993366  
ylabel=5 xlabel legend grid=xy  
ylabel=5 xlabel legend grid=xy  
Line 43: Line 47:
</syntax>
</syntax>
|}
|}
 +
 +
===Bars chart===
 +
 +
{| style="border #EEEEEE 1px solid;"
 +
|
 +
<bars title="Fluorescent Proteins"
 +
colors=336699,669933,993366
 +
ylabel=5 xlabel legend grid=xy
 +
size=400x200>
 +
, CFP, GFP, RFP
 +
1, 170, 293, 443
 +
2, 247, 378, 466
 +
3, 235, 161, 745
 +
</bars>
 +
||
 +
<syntax type=python>
 +
<bars title="Fluorescent Proteins"
 +
colors=336699,669933,993366
 +
ylabel=5 xlabel legend grid=xy
 +
size=400x200>
 +
, CFP, GFP, RFP
 +
1, 170, 293, 443
 +
2, 247, 378, 466
 +
3, 235, 161, 745
 +
</bars>
 +
</syntax>
 +
|}
 +
 +
 +
 +
===Pie chart===
 +
 +
{| style="border #EEEEEE 1px solid;"
 +
|
 +
<Pie title="Fluorescent Proteins"
 +
colors=336699,669933,993366,CCCC33 xlabel 3d
 +
size=400x200>
 +
CFP, 24
 +
GFP, 44
 +
RFP, 20
 +
YFP, 12
 +
</pie>
 +
||
 +
<syntax type=python>
 +
<Pie title="Fluorescent Proteins"
 +
colors=336699,669933,993366,CCCC33 xlabel 3d
 +
size=400x200>
 +
CFP, 24
 +
GFP, 44
 +
RFP, 20
 +
YFP, 12
 +
</pie>
 +
</syntax>
 +
|}
 +
 +
== More info ==
 +
* The charts are auto generated using the Google Charts API via the gchart4mw extension. For more information on the specific wiki syntax or the extension itself, visit [http://code.google.com/p/gchart4mw/ gchart4mw] at Google Code.
 +
 +
__NOTOC__

Current revision

See also: Using Gnuplot on OWW.

Charts on OWW

  • You can generate line, bars and pie charts on OWW directly via CSV (comma separated values) data. Below we have an example of each chart type and the example of the wiki code that generated it (random data used).

Line chart

<syntax type=python> </syntax>

Bars chart

<syntax type=python> </syntax>


Pie chart

<syntax type=python> </syntax>

More info

  • The charts are auto generated using the Google Charts API via the gchart4mw extension. For more information on the specific wiki syntax or the extension itself, visit gchart4mw at Google Code.


Personal tools