@gondezee when you say “plot a frequency sweep” what you’re looking for is just the usual voltage/time graph from a scope? No resistance in parallel to the capacitor for discharge? No fixed resistance in series? No x/y graphing funny business?
Or are you looking for a bode plot? I was hesitant in my first response because I thought I remembered Dave doing a bode plot with a sweeping gen and a scope, but I wasn’t sure if I could find it. I could m.youtube.com/watch?v=uMH2hGvqhlE