next up previous contents index
Next: setscale Up: Data Manipulation Commands Previous: seed   Contents   Index


setplot

The setplot command can be used to set the current plot, or to create a new, empty plot and make it the current plot.

setplot [plotname]
The same functionality is available from the Plots button in the Tools menu. The setplot command will set the current plot to the plot with the given plotname, or if no name is given, prompt the user with a menu. The plots are named as they are loaded, with names like tran1 or ac2. These names are shown by the setplot and display commands and are used by other commands. If the ``New plot'' item is selected, the current plot will become a new one with no vectors defined. Note that here the word ``plot'' refers to a group of vectors that are the result of one WRspice simulation run. When more than one file is loaded in, or more than one plot is present in one file, WRspice keeps them separate and only shows the vectors in the current plot. One generally accesses a given plot by first making it the current plot.

The current plot can also be changed by resetting the curplot variable. There are three read-only variables which are reset internally whenever the current plot changes. Each contains a string describing a feature of the current plot. These are curplotdate, curplotname, and curplottitle.


next up previous contents index
Next: setscale Up: Data Manipulation Commands Previous: seed   Contents   Index
Stephen R. Whiteley 2006-10-23