Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | plotter | |
Tool | pgplotwidget |
Suppose you create via a plugin a high-level plot command that you want to show up in the displaylist as a high-level command (i.e., not broken up into lower level PGPLOT commands). In this case, in your plugin you would enter into the displaylist a record with a field per argument, and a field _function that contains the name of the function.
To be able to redraw the function, you would use addredrawfunction to add a function which, when passed the record the plugin inserted in the display list, would ensure that the draw commands are executed.
name | name of the draw function | ||
Allowed: | string | ||
redrawfunction | function to redraw a command from the displaylist | ||
Allowed: | function |