von bloodworks » Fr 6. Aug 2010, 16:56
LIke this?
\documentclass{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\tikzset{ every pin/.style={fill=yellow!50!white,rectangle,rounded corners=3pt,font=\tiny}, small dot/.style={fill=black,circle,scale=0.3}}
\begin{axis}
\addplot {x};
\node[small dot,pin=120:{Ich bin ein Punkt}] at (axis description cs:0.5,0.5) {};
\end{axis}
\end{tikzpicture}
\end{document}
Genauere Erklärungen siehe pgfplots Doku "4.8.1 Placement of Axis Descriptions" und pgfmanual
LIke this?
[code]
\documentclass{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\tikzset{ every pin/.style={fill=yellow!50!white,rectangle,rounded corners=3pt,font=\tiny}, small dot/.style={fill=black,circle,scale=0.3}}
\begin{axis}
\addplot {x};
\node[small dot,pin=120:{Ich bin ein Punkt}] at (axis description cs:0.5,0.5) {};
\end{axis}
\end{tikzpicture}
\end{document}
[/code]
Genauere Erklärungen siehe pgfplots Doku "4.8.1 Placement of Axis Descriptions" und pgfmanual