They used a variable resistor (Rheostat) to alter the current flow and then plotted a graph of their results.