transpose
Swap the elements in a multi-dimensional data set
General form
transpose vector vector ...
This command transposes a multidimensional vector. No analysis in Spice3 produces multidimensional vectors, although the DC transfer curve may be run with two varying sources. You must use the "reshape" command to reform the one-dimensional vectors into two dimensional vectors. In addition, the default scale is incorrect for plotting. You must plot versus the vector corresponding to the second source, but you must also refer only to the first segment of this second source vector. For example (circuit to produce the tranfer characteristic of a MOS transistor):
spice3 > dc vgg 0 5 1 vdd 0 5 1 spice3 > plot i(vdd) spice3 > reshape all [6,6] spice3 > transpose i(vdd) v(drain) spice3 > plot i(vdd) vs v(drain)[0]