If you want to do only temp analysis do following -
Code:
.DC LIN TEMP 0 100 10
This would show x-axis as temperature.
If you want to do temp analysis along with any other analysis (tran, AC,DC sweep), specify following along with the other analysis -
Code:
.STEP LIN TEMP 1 100 10
This would create different sections and your x-axis would be (time,freq,DC voltage) depending on the type of analysis you choose. The sections would have the temerature variations.