Contents - Index


UpdatePlot (Macro Command)

 

Plot windows can be set to display the most recent calculated data by checking the Automatic update control in the Modify Plot dialog. However, the display is updated only when the plot window is the active window, i.e., the one that has control.  A window can be activated by clicking the mouse button anywhere within the window.  In some cases, a plot window may be fully visible, but it is not the active window.  In this case, the display can be made to update with the UpdatePlot macro command.  The format of this command is

 

UpdatePlot [optional plot window]

 

The optional plot window may be a numerical value indicating the position of the plot tab or a string constant or string variable that provides the name of the plot window seen on the tab.  If an plot window designation is not provided then all of the plot windows in the file will be updated.

 

MacroCommands