TransWikia.com

Appending plots in LTspice

Electrical Engineering Asked on November 30, 2021

The single most important thing I miss in LTspice is the ability to plot things of multiple runs on top of each other. Cadence Virtuoso calls that "Append Plot".

What I mean: I want to plot one node of my circuit, hit "Run" and plot. Then change the topology and run again and plot the result on top of the first one. This makes it easy to see the impact of multiple blocks/parsitics/changes directly in the waveform.

I know I can export the plot after each run and plot them on top in MATLAB for example. I also know I can use .step. But this does not (easily) allow for topology changes. None of these two are solutions.

One Answer

There is not an easy way to do this in LT spice. A very unorthodox way (that I have used in the past) is export the file and then use a PWL source to read a file (that you have exported). I can't remember if I had to write a script to translate the PWL.

A better way would be to run the Lt spice file, export, and then plot both signals in excel, matlab or python matplotlib.

The best way is to figure out how to use .step to run both of the circuits in the same simulation. With b-sources there are many clever ways to use a voltage source to switch other b-sources to change compoent values with if statements ect.

Answered by Voltage Spike on November 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP