Trace expressions

Plot maths on signals, such as V(out) − V(in), V(out)/I(R1) or db(V(out)), with units worked out for you.

Type an expression in Add Trace… at the bottom of a graph (Results › Add Trace…, ⌃⌘A) and press Return. It’s plotted as a new trace with its unit worked out: a voltage over a current in ohms, db() in dB. The same expressions work in sweeps, measurements and the results console.

Signals#

WriteMeans
V(out) or outThe voltage at a node: a probe name, port or rail name, or a pin such as R1.2
V(a,b)The voltage between two nodes
I(R1)The current through a part
time, tTime

Functions#

  • Maths: abs, sqrt, exp, ln, log, log10, sin, cos, tan, atan, atan2, pow, min, max, floor, ceil, round, sgn, limit, u.
  • Signals: db(x), d(x) (derivative), integ(x) (running integral), avg(x) and rms(x) (running from the start).
  • Filters: movavg(x, window) or smooth(x, window), lowpass(x, fc), highpass(x, fc), median(x, samples).
  • Operators + − * / ^, comparisons < and >, and pi and e. Numbers take SI prefixes; M is mega.

Control-click an added trace’s button in the toolbar and choose Remove Trace to remove it.

Applies to Coppa 0.1 Preview 14. Last updated 22 November 2026.