von Vaschan » Di 21. Feb 2017, 11:26
Danke für die Hilfe, klappt mit
Die Notwendigkeit sehe ich darin, dass zwei Diagramme nebeneinander sind
\documentclass[12pt,titlepage,a4paper]{report}
\usepackage[pdftex]{graphicx}
\usepackage{pgfplots}
\usepackage{subfigure}
\begin{document}
\begin{figure}[tbh]
\subfigure[Draufsicht]{\begin{tikzpicture}
\begin{axis}[
legend style={at={(0.5,1)},anchor=south , legend columns = 3}]
\addplot coordinates {(0,0) (1,1)};
\addplot coordinates {(0,1) (1,2)};
\addplot coordinates {(0,2) (1,3)};
\legend{c,b, a}
\end{axis}
\end{tikzpicture}}
\subfigure[Seitenansicht]{\begin{tikzpicture}
\begin{axis}[
legend style={at={(0.5,1)},anchor=south , legend columns = 3}]
\addplot coordinates {(0,3) (1,2)};
\addplot coordinates {(0,1) (1,0)};
\addplot coordinates {(0,2) (1,1)};
\legend{c,b, a}
\end{axis}
\end{tikzpicture}}
\caption{test}
\end{figure}
\end{document}
Danke für die Hilfe, klappt mit [code]yticklabel pos=right[/code]
Die Notwendigkeit sehe ich darin, dass zwei Diagramme nebeneinander sind
[code]\documentclass[12pt,titlepage,a4paper]{report}
\usepackage[pdftex]{graphicx}
\usepackage{pgfplots}
\usepackage{subfigure}
\begin{document}
\begin{figure}[tbh]
\subfigure[Draufsicht]{\begin{tikzpicture}
\begin{axis}[
legend style={at={(0.5,1)},anchor=south , legend columns = 3}]
\addplot coordinates {(0,0) (1,1)};
\addplot coordinates {(0,1) (1,2)};
\addplot coordinates {(0,2) (1,3)};
\legend{c,b, a}
\end{axis}
\end{tikzpicture}}
\subfigure[Seitenansicht]{\begin{tikzpicture}
\begin{axis}[
legend style={at={(0.5,1)},anchor=south , legend columns = 3}]
\addplot coordinates {(0,3) (1,2)};
\addplot coordinates {(0,1) (1,0)};
\addplot coordinates {(0,2) (1,1)};
\legend{c,b, a}
\end{axis}
\end{tikzpicture}}
\caption{test}
\end{figure}
\end{document} [/code]