It depends on the kind of livebearer you're talking about what the ideal breeding temperature is. In your case with platies and swordtails (I'm assuming they're fancy ones and not wild) a range of 20°C-28°C will be good. It really doesn't have to very high to get them to breed.
There are also livebearers that will only breed better or totally at lower rates. Even with a large number of wild swordtails or even wild platies which belong to the socalled northern Xiphophorus species prefer lower temperatures. The southern Xiphophorus species prefer higher temperatures. But there are way more livebearers that produce better at lower rates. That's why I've mentioned that it really depends on the kind of livebearer species which breeding temperature is preferable.
There are also livebearers that will only breed better or totally at lower rates. Even with a large number of wild swordtails or even wild platies which belong to the socalled northern Xiphophorus species prefer lower temperatures. The southern Xiphophorus species prefer higher temperatures. But there are way more livebearers that produce better at lower rates. That's why I've mentioned that it really depends on the kind of livebearer species which breeding temperature is preferable.