* linearize converts adaptive-step tran to a uniform grid
V1 in 0 SIN(0 1 1k)
R1 in out 1k
C1 out 0 100n
.tran 10u 1m
.control
  run
  let n1 = length(v(out))
  echo "raw (adaptive) points:" $&n1
  linearize
  let n2 = length(v(out))
  echo "linearized points:" $&n2
.endc
.end
