I have a time-dependent signal.
I wish to plot its integration over time with time being x-axis and integration value being y-axis.
Is there any Python way of doing this?
To be more specific:
I have a time array, time, and a signal array, signal. They are of same dimension.
I need to integrate signal over time with scipy.integrate.trapz().
Instead of getting the final integral, I wish to see the integral varying as time passes.
 
     
    