|
|
@ -826,9 +826,9 @@ spar_write(char *name, struct plot *pl, double Rbaseval) |
|
|
fprintf(fp, "!Generated by ngspice at %s\n", pl->pl_date); |
|
|
fprintf(fp, "!Generated by ngspice at %s\n", pl->pl_date); |
|
|
fprintf(fp, "# Hz S RI R %g\n", Rbaseval); |
|
|
fprintf(fp, "# Hz S RI R %g\n", Rbaseval); |
|
|
fprintf(fp, "!%-*.5s %-*.5s %-*.5s %-*.5s %-*.5s %-*.5s %-*.5s %-*.5s %-*.5s\n", |
|
|
fprintf(fp, "!%-*.5s %-*.5s %-*.5s %-*.5s %-*.5s %-*.5s %-*.5s %-*.5s %-*.5s\n", |
|
|
prec+8, "freq", |
|
|
|
|
|
prec+8, "ReS11", prec+8, "ImS11", prec+8, "ReS21", prec+8, "ImS21", |
|
|
|
|
|
prec+8, "ReS12", prec+8, "ImS12", prec+8, "ReS22", prec+8, "ImS22"); |
|
|
|
|
|
|
|
|
prec+7, "freq", |
|
|
|
|
|
prec+7, "ReS11", prec+7, "ImS11", prec+7, "ReS21", prec+7, "ImS21", |
|
|
|
|
|
prec+7, "ReS12", prec+7, "ImS12", prec+7, "ReS22", prec+7, "ImS22"); |
|
|
|
|
|
|
|
|
/* Before we write the stuff out, make sure that the scale is the first |
|
|
/* Before we write the stuff out, make sure that the scale is the first |
|
|
* in the list. |
|
|
* in the list. |
|
|
|