Manual for Package pgfplots
2D/3D Plots in LATeX, Version 1.18.1
http://sourceforge.net/projects/pgfplots
pgfplots draws highquality function plots in normal or logarithmic scaling with a userfriendly interface directly in TeX. The user supplies axis labels, legend entries and the plot coordinates for one or more plots and pgfplots applies axis scaling, computes any logarithms and axis ticks and draws the plots. It supports line plots, scatter plots, piecewise constant plots, bar plots, area plots, mesh and surface plots, patch plots, contour plots, quiver plots, histogram plots, box plots, polar axes, ternary diagrams, smith charts and some more. It is based on Till Tantau’s package pgf/TikZ.
This package provides tools to generate plots and labeled axes easily. It draws normal plots, log plots and semilog plots, in two and three dimensions. Axis ticks, labels, legends (in case of multiple plots) can be added with key–value options. It supports line plots, scatter plots, piecewise constant plots, bar plots, area plots, mesh and surface plots, patch plots, contour plots, quiver plots, histogram plots, box plots, polar axes, ternary diagrams, smith charts and some more. It can cycle through a set of predefined line/marker/color specifications.
In summary, its purpose is to simplify the generation of highquality function and/or data plots, and solving the problems of

• consistency of document and font type and font size,

• direct use of TeX math mode in axis descriptions,

• consistency of data and figures (no third party tool necessary),

• interdocument consistency using preamble configurations and styles.
Although not necessary, separate .pdf or .eps graphics can be generated using the external library developed as part of TikZ.
You are invited to use pgfplots for visualization of medium sized data sets in two and three dimensions.
It is based on Till Tantau’s package pgf/TikZ.