You get a diode curve by using one DC supply.
You get the full Mosfet curves by using two supplies, one on the drain and the other on the gate, and stepping both of them. The inner stepping loop controls the drain supply, the coarser loop steps the Vgs.