-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tex
More file actions
39 lines (29 loc) · 872 Bytes
/
Copy pathexample.tex
File metadata and controls
39 lines (29 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
\documentclass[a4paper, 11pt]{article}
% PACKAGES
\usepackage[english]{babel}
\usepackage{pgfplots}
%DOCUMENT
\begin{document}
% This command shows why pgfplots is a good option: When changing the font of
% your latex document the fonts inside your plot will be changed accordingly.
% For this example to work the 'Palatino' font must be installed
\renewcommand*\rmdefault{ppl}
\begin{figure}
\centering
\includegraphics[width=\linewidth]{awsome_plot.png}
\caption{This plot shows the png image.}
\label{fig:png}
\end{figure}
\begin{figure}
\centering
\includegraphics[width=\linewidth]{awsome_plot.pdf}
\caption{This plot shows the pdf image.}
\label{fig:pdf}
\end{figure}
\begin{figure}
\hspace{-2.75cm}
\input{awsome_plot.pgf}
\caption{This plot shows the pgf plot.}
\label{fig:pgf}
\end{figure}
\end{document}