@User i ran into the same issue, a .dc var1.... var2.... creates a single datafile concatenating all data. The method above force ngspice to create separate datafiles one after the other. The problem is that the very simple raw format does not handle multiple variable sweep.