I have a circuit that the simulation result is a pair of current and voltage curves, which then I use the "Axis --> Y vs Y" option and plot them as an IV curve. But when I run a parametric analysis and perform a sweep on e.g. frequency (say for 10 steps), I get 20 curves. The tricky part is here when I want to pair the current and voltage curves for each frequency step and plot the IV characteristics, so that I get 10 IV curves. In the menu of "Y vs Y", I only can choose a trace for a single frequency... and all other curves are paired with that frequency. The result is one correct IV curve and a bunch of scrambled waveforms.
Someone told me that I can write an ocean code, extract the waveforms for the curve families and plot them accordingly. Any help on how to do that?
Any help is appreciated. Thank you!