The temperature of a compound inside a sealed container is independent variable because it is unaffected by the presser. The presser of a compound inside a sealed container is dependent variable because it depends by the temperature.
The temperature of a compound is independent variable and the presser of a compound is dependent variable.