← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] simulation: allow entering signals (spice vectors) by name


If you have just done a single simulation, creating one plot, it will be sufficient to query the current plot by

/* return to the caller a pointer to the name of the current plot */

char* ngSpice_CurPlot(void)

and then use

char** ngSpice_AllVecs(char* plotname)

About the 'plot' notion in ngspice: it is an assembly of all vectors generated during a single simulation run (e.g. a tran simulation generats a plot named tran1 which contains all vectors generated).