How to view plots with different variables on time/x axis?

Hi,

This is plot vs time:

This is plot vs I(R3):

This can be viewed one by one, and not in the same time.

But I am interested to view the two plot in the same time, one above another:

Or it can be two separate plot window, but in the same time viewed:

Right now is only like that:

1 Like

You cannot do it in a single waveform viewer, but you can do it by using two waveform viewer side-by-side.

  • File > Open, in file type : waveform file (.qraw)
    you can open a new waveform viewer by loading same waveform file to setup with different x-axis parameter.

But the waveform viewer created with this method will not update in next simulation run. Only one active waveform viewer window get auto update.

Somehow this doesn’t work anymore. File open and select an *.qraw file reverts to the waveform window that is already open.
Is there another way to do it?

@Pe1ebc Update Qspice and this behavior is restored.

Thanks, I was already on the latest version, but nevertheless a forced update did the trick.

This feature was restored because you reported it. :rofl:

Hi Kevin, Nice to know that this feature is restored because I reported it. knowing that maybe you can have a look at another strange behavior of the waveform viewer. Therefor I included a circuit. This circuit shows a BH-curve of a saturating inductor with losses. My goal is to plot inner BH-loops, But that is beside the point for now. Run it 4 times. 1st time without “overlay new simulations on prior.” Plot the BH-curve. Change the current source as indicated. run again. The plot looks as expected. Now turn on “overlay new simulation on prior” and repeat the whole process. You will notice that the plot of the first run is misplaced on the x_axis.
By the way if adjust the circuit so that I can use a step param statement and add switches with the option of overlay.. turned of, then the plot is just fine.
Lsat_BH.qsch (2.6 MB)

In your simulation, adding these commands will automatically set up the expressions for the x- and y-axis of your plot, provided you haven’t saved a plot configuration file (.pfg).

.plot V(b)
.abscissa I(V1)

Thanks for .abscissa tip. Was not aware that it was added to the posibilities.
However it does not solve the issue of the messed up waveform when doing 2 runs with 'Overlay new simulations on prior" on. The same issue whit “Overlay new simulations on prior” off. Export to CSV make the BH plot do the second run an drag the new run into the CSV plot window. May be that extra info helps to solve this bug.

I think I PM a message to you that it seems as a bug and sent to Mike for review.