Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | plotter | |
Tool | pgplotter |
This command creates a ``Tool'' - a custom GUI that the user can interact with to perform some functionality. The tool might be used purely to manipulate the plot (for example the standard zoom tool), or it might be used to perform some data analysis.
Typically the tool will operate by finding some plot commands in the displaylist, and then changing or adding to them appropriately.
The tool is defined by supplying a name and two functions, one of which is called when the tool is invoked and the other of which is called when the tool is dismissed.
The arguments to these start nad suspend functions are:
Typically a tool will be defined in a plugin.
name | name of the tool | ||
Allowed: | string | ||
start | function to call when the Tool GUI becomes visible | ||
Allowed: | function | ||
suspend | function to call with the Tool GUI is dismissed | ||
Allowed: | function |