As the other commenter said, you can make this analogy rigorous by looking at manifolds (differential geometry). They're a little bit like the non-linear version of a vector space. In this case the set of physically valid values for P, T, S, V forms a two-dimensional surface due to the ideal gas laws, and you can derive local coordinate charts for the surface using any (non-degenerate) pair of these variables.