Over the last 35 years the sun has shown a slight cooling trend. However global temperatures have been increasing. Since the sun and climate are going in opposite directions scientists conclude the sun cannot be the cause of recent global warming.
The only way to blame the sun for the current rise in temperatures is by cherry picking the data. This is done by showing only past periods when sun and climate move together and ignoring the last few decades when the two are moving in opposite directions.
Figure 1: Annual global temperature change (thin light red) with 11 year moving average of temperature (thick dark red). Temperature from NASA GISS. Annual Total Solar Irradiance (thin light blue) with 11 year moving average of TSI (thick dark blue). TSI from 1880 to 1978 from Krivova et al 2007 (data). TSI from 1979 to 2009 from PMOD (see the PMOD index page for data updates).
Basic rebuttal written by Larry M
Update July 2015:
Here is a related lecture-video from Denial101x - Making Sense of Climate Science Denial
|The Skeptical Science website by Skeptical Science is licensed under a Creative Commons Attribution 3.0 Unported License.|