Please consult the
Post on Avoidable Mistakes and in particular the link to instructions on creating a
minimal working example. It should be compiliable on its own (a complete minimal document), not include reference to documents we do not have access to (such as .eps figures that don't come with LaTeX). It would also be wise to elaborate a bit more on what you mean by "doesn't seem to work".
I don't know if this was a typo when posting here but the most obvious problem is that you have:
The first ] should be a }, and I do not believe that there is a placement option "here". Try:
I also don't understand the point of the ~ before the first \ref{fig:residualplot1}: why would you want an extra space there?
Apart from that, I do not see any problems with your snippet. The following works fine for me. (I swapped out resplots.eps for tiger.eps which comes with ghostscript and most LaTeX distributions.) Or is there some other problem I should be aware of?
Code: Select all
\documentclass{article}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\begin{document}
\subsection{Residualplot}
Et residualplot skabes ved at plotte ens kovariater(de kontinuerte forklarende variable) eller ens fittede værdier imod ens residualer, dette plot kan så anvendes til visuelt at kontrollere en lang række af de normale og de generaliserede lineære modellers forudsætninger(se modelkontrol afsnit), se evt. figur \ref{fig:residualplot1} side \pageref{fig:residualplot1}.
\begin{figure}[here]
\centering
\includegraphics[scale=0.3,angle=0]{tiger.eps}
\caption{Figuren viser 6 residualplots, overskrifter forklarer.}
\label{fig:residualplot1}
\end{figure}
Figur \ref{fig:residualplot1}.
\end{document}

- figure.png (90.93 KiB) Viewed 2342 times