Figure (a) is more accurate. The roots of a plant always grow downwards in response the gravity to make sure they find soil and water.
On the other hand, the stem always grows up away from gravity pull to make sure they will get light. Both these conditions are shown in figure (a).