Re: [Kicad-developers] doing math on plots

2019-11-01 Thread Holger Vogt
Is this supposed to work on macOS as well? I downloaded the ngspice package but the binary fails to run: $ ./ngspice dyld: Library not loaded: /opt/X11/lib/libXaw.7.dylib Referenced from: /Applications/ngspice/bin/./ngspice Reason: image not found Abort trap: 6 Plotting with

Re: [Kicad-developers] doing math on plots

2019-10-31 Thread Wayne Stambaugh
On 10/31/19 6:14 AM, Jonatan Liljedahl wrote: > On Wed, Oct 30, 2019 at 6:42 PM Holger Vogt wrote: >> >> The current eeschema-ngspice interface is very limited. > > Are there any plans or roadmap for improving it? Not until V7. The V6 road map is already pretty ambitious. > >>> How would one

Re: [Kicad-developers] doing math on plots

2019-10-31 Thread Jonatan Liljedahl
For convenience, I created the following schematic symbol, and this subcircuit: .subckt DIFFMETER a b out1 out2 BV1 out1 GND V=V(a,b) R1 out2 GND 1g .ends By putting the pins out1 and out2 in the same location, hiding out2, I could trick KiCad to consider any wire/label there connected. It

Re: [Kicad-developers] doing math on plots

2019-10-31 Thread Jonatan Liljedahl
On Wed, Oct 30, 2019 at 6:42 PM Holger Vogt wrote: > > The current eeschema-ngspice interface is very limited. Are there any plans or roadmap for improving it? > > How would one plot, for example, the difference between two vectors? > > I tried this in a text box: > > > > .save

Re: [Kicad-developers] doing math on plots

2019-10-30 Thread Holger Vogt
The current eeschema-ngspice interface is very limited. How would one plot, for example, the difference between two vectors? I tried this in a text box: .save foo=(‘v(/input)-v(/output2)’) .tran 10u 50m but "foo" does not show up in the list of vectors to display in the plot window. Here

[Kicad-developers] doing math on plots

2019-10-29 Thread Jonatan Liljedahl
How would one plot, for example, the difference between two vectors? I tried this in a text box: .save foo=(‘v(/input)-v(/output2)’) .tran 10u 50m but "foo" does not show up in the list of vectors to display in the plot window. Another thing, I found that one can use parameters for values, for