Fork me on GitHub

For those getting started with LaTex and Tikz/PGFPLOTS, it can be difficult to remember all the keys and options. This page serves as a helpful tool to create most simple 2-dimensional plots using Tikz and the pgfplots package.

Add Axis

Legend Options

Legend position (use axis coordinates 0-1)

Label Styles

Add Series

Final Output

Some preamble output

Plot output