Extension:Wykres

From MediaWiki.org
Jump to: navigation, search


MediaWiki extensions manual - list
Crystal Clear action run.png
wykres

Release status: beta

ExtWykres.png
Implementation Tag
Description Graph plotting extension using the <canvas> element.
Last version 0.01 (31.08.2008)
License GPL (excluding excanvas)
Download wykres.tar.gz
Hooks used
ParserAfterTidy

Check usage (experimental)

Contents

[edit] What can this extension do?

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

[edit] Usage

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>

[edit] Download instructions

Get it from wykres.tar.gz.

[edit] Installation

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");
    

[edit] Configuration parameters

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

[edit] User rights

None.

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox