Consider the following example:
Code: Select all
\documentclass{article}
\usepackage{pst-func,pst-plot,pstricks-add}
\usepackage[
colorlinks=true,
menucolor=black,
urlcolor=black
]{hyperref}
\begin{document}
\tableofcontents
\vfill
\section{Test}
See \url{http://www.google.dk/}.
\begin{figure}[htbp]
\centering
\psset{%
llx=-1.3cm,
lly=-1cm,
xAxisLabel={H{\o}jde (cm)},
xAxisLabelPos={c,-120},
yAxisLabel={Antal},
yAxisLabelPos={-9,c},
}
\begin{psgraph}[Ox=145,Dx=10,Dy=100]{->}(145,0)(217,928){10cm}{7cm}
\readdata{\normal}{normal.txt}
\dataplot[plotstyle=dots,dotsize=4pt,dotstyle=o,color,linecolor=red,fillcolor=blue,fillstyle=solid]{\normal}
\psGauss[yunit=13427,linecolor=red,mue=179.6215,sigma=6.766667,linewidth=2pt]{153}{210}
\end{psgraph}
\caption{Test.}
\label{figure:1}
\end{figure}
The plot in Figure~\ref{figure:1} indicates that the data is Gaussian distributed.
\end{document}
Thank you in advance!