Differentiate
Description Plot the derivative of the current trace with respect to its x axis.
  The differentiated waveform is in a plot named result.
Hot Key  d
Script result = differentiate(current)
plot result
Example

Open scope and paste this script into the command window.
Then press <Ctrl + R> to plot a sine wave

Select "Build and apply han10 to current waveform" from the build menu to view the result.

set units = rad
pi =4*atan(1)
numpoints = 1000
time = (vector(numpoints)/(numpoints-1)*1m)
newplot sineplot time
setplot sineplot
y = sin(2*pi*time*1k)
plot y
homecursors
set units = deg

 Integrate
Description Plot the integral of the current trace with respect to its x axis.
  The integrated waveform is in a plot named result.
Hot Key  none
Script result = integrate(current)
plot result
Example Run the previous example then integrate the differentiated result. Notice that the old result is destroyed.