I'm using LTspice on Mac, and trying to only use netlists, no GUI. I'm trying to follow berkeley ee240. They use a model that I don't think is available online so I'm just using default mosfet models.
So I need to sweep length, and plot the resulting Vth parameter. I cannot plot V(vout) without manually selecting the trace, it will not show up using the '.plot DC V(vout)' command.
I cannot access the Vth parameter. I have tried various combinations of lv9 and vth but can't get anything to appear on the plot. V(Vout) only appears on the plot if it is selected from the GUI. Vth is not an option in the GUI. Netlist:
.model nm1 nmos(level=14)
.param length=1u
* netlist
Vgs vgs 0 1.2
Vds vds 0 1.2
M1 vout vgs gnd gnd nm1 L={length} W=1e-6
R1 vds vout 1k
* analysis
.op
.DC lin param length 90nm 500nm 50nm
.plot DC V(vout)
.end