README for Graph
====================

Graph is a plugin for sketch, which allows to draw simple graphs directly
in sketch.It is basically an interface to the command line of the "graph"
command of the gnu plotutils.Possible graph types are therefore scatter
and line plots of on eor more data sets. Plot options have to be entered
as command line paramters like -f 0.1 -X 'x_label' ...


Installation
------------

You need the plotutils http://www.gnu.org/directory/plotutils.html

The installation is just the standart procedure for Plugin objects:

Copy graph.py into a directory on Sketch's plug-in path. Normally,
only the directories under <prefix>/lib/sketch-<version>/Plugins are on
the plug-in path, but you can add e.g. ~/.sketch/Plugins to that path by
putting the lines

import Sketch.config
import os
Sketch.config.plugin_path.append(os.path.expanduser("~/.sketch/Plugins"))

to ~/.sketch/userhooks.py

you can then copy graph.py to ~/.sketch/Plugins and Sketch will
automatically find it.

If all goes well, there'll be an entry "Graph" in the Edit->Create menu
which will pop up the graph dialog.
