The following commands display the output of simulations graphically, either on-screen or on a printing device. Many take as input a list of vectors or expressions to plot, and in some cases ambiguities may arise. These can often be resolved through additional parentheses (...) surrounding troublesome expressions. In addition, a double minus sign (-) forces a unary minus. For example, the command
plot v(1) -v(4)would plot the difference of v(1) and v(4) (one trace), whereas the command
plot v(1) -v(4)would plot v(1) and -v(4) (two traces).
In the expression list, a ``.'' token is replaced with the vector list found in a .plot line from the file with the same analysis type as the current plot. For example, if the file contains
.tran .1u 10uthen one can type ``run'', then ``plot .'' to plot v(1) and v(2).
.plot tran v(1) v(2)
Graphical Output Commands | |
asciiplot | Generate line printer plot |
---|---|
combine | Combine plots |
hardcopy | Send plot to printer |
iplot | Plot during simulation |
mplot | Plot range analysis output |
plot | Plot simulation results |
xgraph | Plot simulation results using xgraph |