Manual for Package pgfplots
2D/3D Plots in LATeX, Version 1.18.1
http://sourceforge.net/projects/pgfplots
Chapter 8 Import/Export From Other Formats
Sections
This chapter contains information of how to single pictures into separate pdf graphics files (or eps graphics files). Furthermore, it explains a Matlab® script which allows to convert from Matlab to pgfplots.