You cannot catch Magmar in Pokémon Platinum.
Magmar is exclusive to Pokémon Diamond and Pearl (found at Stark Mountain). To get Magmar in Platinum:
Platinum's Pokédex includes Magmar, but it's unobtainable in-game without trading.