Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: pgplotwidget.done - Function Up: pgplotwidget - Tool Previous: pgplotwidget.curs - Function


pgplotwidget.addredrawfunction - Function



Package display
Module plotter
Tool pgplotwidget


Add a function to redraw a command in the displaylist


Synopsis
addredrawfunction(name, redrawfunction)


Description
This function is only of interest if you want to add functions via plugins.

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.



Arguments

name   name of the draw function
    Allowed: string
redrawfunction   function to redraw a command from the displaylist
    Allowed: function


Returns
T or fail






See Also
1.
Glish/PGPLOT
2.
pgplotter
3.
displaylist
4.
plotter


next up previous contents index
Next: pgplotwidget.done - Function Up: pgplotwidget - Tool Previous: pgplotwidget.curs - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15