It is a very interesting to compare the Martian to Gravity:
Both involve an astronaut stranded in outer space after a failed mission
In Gravity, the astronaut could survive by being self-reliant. In The Martian
the astronaut will die if he is not saved. Self-reliance is a theme in Gravity while
in The Martian, self-reliance can only get you so far.
Both characters have to rely on their wit, creativity, and out-of-the-box thinking
In The Martian, the character is able to establish communication whereas
in Gravity, communication is impossible. Damon character can have a little hope
because NASA knows where he is. In Gravity, Bullock is spinning aimlessly
around the Earth's orbit. In Gravity, Sandra is lucky to bump into Russian & Chinese
gear to be used for re-entry. In Martian, Damon's fate is in the hands of his helpers.
The Martian is an excellent adventure but Gravity is still the more intense cinematic experience.