Extension:Wykres

MediaWiki extensions manual
wykres
Release status: unmaintained
Implementation Tag
Description Graph plotting extension using the ‎<canvas> element.
Author(s) (sk197876talk)
Latest version 0.01 (2008-08-31)
MediaWiki
License GPL (excluding excanvas)
Download wykres.tar.gz

What can this extension do? edit

It can plot a couple of graphs of some functions with parameters. The parameters can be adjusted using handy sliders.

Usage edit

This example will draw four graphs on a canvas 300 pixels wide and 300 pixels high.

<wykres width="300" height="300" x="-3:6" y="-3:3" par="a[-2:3] b[-2:3] c[-2:3]">
    a*sin(b*x); a*sqrt(b*x); a*sin(b*x) / (c*x); a * ln(b*x)
</wykres>

Download instructions edit

Get it from wykres.tar.gz.

Installation edit

To install this extension

  1. extract wykres.tar.gz inside wiki/extensions directory.
  2. add the following to LocalSettings.php :
    require_once("$IP/extensions/wykres/wykres.php");
    

Configuration parameters edit

There are none. You can configure the look and feel modifying wykres/css/wykres.css and wykres/js/wykresStyles.js.

User rights edit

None.