The graph of potential difference (V) versus current (I) for an ohmic resistor is a straight line as shown below:
The resistance of the resistor can be determined from this graph as: