DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Latex Report

01.26.2006
| 474 views |
  • submit to reddit
        
\documentclass[12pt,a4paper]{report}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[latin1]{inputenc}
\usepackage{graphics}

% all figures are in folder images/
\graphicspath{{images/}}


\begin{document}

Figure \ref{fig:sinus} is a sample sine curve. Figure \ref{fig:sincos} is 
a test of multiplot with Gnuplot, using a sine and a cosine curve.

\begin{figure}[ht]
    \begin{center}
        \resizebox{\columnwidth}{!}{\includegraphics{sinus}}
    \end{center}
    \caption{An example caption.}
    \label{fig:sinus}
\end{figure}

\begin{figure}[ht]
    \begin{center}
        \resizebox{\columnwidth}{!}{\includegraphics{sine}}
    \end{center}
    \caption{sine curve generated by Gnuplot through python}
    \label{fig:sine}
\end{figure}

\begin{figure}[ht]
    \begin{center}
        \resizebox{\columnwidth}{!}{\includegraphics{sine2}}
    \end{center}
    \caption{sine curve generated by Gnuplot with numpy data through python 
    and set to half vertical size}
    \label{fig:sine2}
\end{figure}

\begin{figure}[ht]
    \begin{center}
        \resizebox{\columnwidth}{!}{\includegraphics{sincos}}
    \end{center}
    \caption{Sine and Cosine}
    \label{fig:sincos}
\end{figure}

\begin{figure}[ht]
    \begin{center}
        \resizebox{\columnwidth}{!}{\includegraphics{sincos2}}
    \end{center}
    \caption{Sine and Cosine generated with numpy data through python}
    \label{fig:sincos2}
\end{figure}

\begin{figure}[ht]
    \begin{center}
        \resizebox{\columnwidth}{!}{\includegraphics{bode}}
    \end{center}
    \caption{Sample bode plot}
    \label{fig:bode}
\end{figure}

\end{document}