Align title line to the numbers following

This commit is contained in:
Holger Vogt 2025-01-18 23:56:33 +01:00
parent c1f1516ba6
commit 7353a2c81c
1 changed files with 3 additions and 3 deletions

View File

@ -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, "# Hz S RI R %g\n", Rbaseval);
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
* in the list.