next up previous contents index
Next: .four Line Up: Output Generation Previous: .print Line   Contents   Index


.plot Line

General Form:
.plot pltype ov1 [ov2 ... ] [(min,max)]
Examples:
.plot dc v(4) v(5) v(1)
.plot tran v(17,5) (2,5) i(vin) v(17) (1,9)
.plot ac vm(5) vm(31,24) vdb(5) vp(5)
.plot disto hd2 hd3(R) sim2
.plot tran v(5,3) v(4) (0,5) v(7) (0,10)

The .plot line defines the contents of one plot from one or more output variables. In SPICE2, the number of variables was limited to eight, but WRspice has no preset limit. In SPICE2, each variable could be followed by a comma-separated pair of numbers in parentheses which indicated the plotting range. WRspice supports this construct only as the last argument, and it applies to all variables. The parameter pltype is the type of analysis (ac, dc, tran, etc.) for which the specified outputs are desired. The syntax for the ovN is identical to that for the .print line and for the plot command in the interactive mode.

This line generates ASCII plots in batch mode, for compatibility with SPICE2. The overlap of two or more traces on any plot is indicated by the letter X.

When more than one output variable appears on the same plot, the first variable specified is printed as well as plotted. If a printout of all variables is desired, then a companion .print line should be included.

There is no limit on the number of .plot lines specified for each type of analysis.


next up previous contents index
Next: .four Line Up: Output Generation Previous: .print Line   Contents   Index
Stephen R. Whiteley 2022-09-18