Skip to content

Instantly share code, notes, and snippets.

@mlohry
Created October 30, 2014 18:34
Show Gist options
  • Save mlohry/26f371f0512feb08ad8c to your computer and use it in GitHub Desktop.
Save mlohry/26f371f0512feb08ad8c to your computer and use it in GitHub Desktop.
Matplotlib/PGF/LaTeX example TeX
\documentclass[12pt]{article}
\usepackage{pgf}
\begin{document}
\begin{figure}[h]
\begin{center}
\input{testpgf.pgf}
\caption{A figure generated by PGF input.}
\end{center}
\end{figure}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment