Activities/Plot

From Sugar Labs
< Activities
Revision as of 23:09, 6 April 2010 by Tswast (talk | contribs) (Added more info for adding functions to plot.)
Jump to navigation Jump to search

Activity-plot.svg

Overview

Plot is an activity that plots mathematical functions.

Modifying Plot

For the ambitious, who don't mind programming:

Adding a function

1. Add to plotter/parse.py

Create an icon

Plot-modify-createicon.png

Create an icon for the new function. As a convention, its name should be the same as the function name in all lowercase letters. There should be two files: one for the working copy, and an exported "Plain SVG" copy. There names should be <functionname>.svg for the plain svg and <functionname>-inkscape.svg for the working copy.

3. Create node class. 4. Add to node list.

Resources