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


next up previous contents index
Next: pgplotmanager.displaylist - Function Up: pgplotmanager - Tool Previous: pgplotmanager.setagent - Function


pgplotmanager.resetplotnumber - Function



Package display
Module plotter
Tool pgplotmanager


reset the internal plot number counter to 0


Synopsis
resetplotnumber()



Description
This function resets the internal plot number counter to 0. The pgplotwidget maintains an internal counter which is used to determine when to prompt the user (when function ask(T) has been called). When prompting is desired, it's usually only necessary to do so after the first plot has been presented. This function resets to 0 the counter that tracks how many plots have been presented so far; thus, for the next plot after calling this function, the user won't be prompted.



Example
pgpm.ask(T);
pgpm.page();              # user may get prompted to confirm start of new plot
pgpm.resetplotnumber();
pgpm.page();              # user will not be prompted to confirm





next up previous contents index
Next: pgplotmanager.displaylist - Function Up: pgplotmanager - Tool Previous: pgplotmanager.setagent - 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