The dependent variable is plant height.
The dependent variable (plant height) is the property that changes as a result something the scientist does.
The independent variable is the property that the scientist changes systematically (the amount of CO_2) to see its effect.
The number of plants and the types of plants are uncontrolled variables. They may or may not affect the heights of the plants.