As you can read in the documention for the smoothdata function the first output is the smoothed data. It will not actually produce a graph.
You should really read the documentation page for function you're trying to use. Matlab has excellent documentation; in my opinion it is one of the key advantages over the competition.