Hallo Allerseits :)

ich hätte ein dringendes Anliegen :) ich möchte meine Objekte sei es Tabellen Diagramme oder Bilder am sheet platzieren.

ich möchte gerne:

  1. den horizontalen und vertikalen Abstand der Objekte unter einander bestimmen
  2. bzw. die himmelsrichtung

wie würde das funktionieren

mein beispiel

Open in Online-Editor
\documentclass{scrartcl} %Das ist die Dokumentenklasse. Kann was anderes auch sein
\usepackage{pgfplots}

\begin{document} %Hier beginnt es
\begin{minipage}{\linewidth} %minipage?
    \pgfplotsset{width=8cm,height=6cm}
    \begin{tikzpicture}[baseline=(current axis.south)]
    \begin{axis}[xlabel = {$A$}]
    \addplot [color=red,solid, mark=*, mark options={solid},smooth] coordinates {(2,6.45)(1,3.4)(3,4.8)(4,4.1)(5,2.4)};
    \end{axis}
    \end{tikzpicture}
    \pgfplotsset{width=10cm,height=6cm}
    \begin{tikzpicture}[baseline=(current axis.south)]
    \begin{axis}[xlabel = {$B$}]
    \addplot [color=green,solid, mark=*, mark options={solid},smooth] coordinates {(1,66.4)(2,43.4)(3,4.3)(4,4.1)(5,9.4)};
    \end{axis}
    \end{tikzpicture}
    \pgfplotsset{width=8cm,height=6cm}
    \begin{tikzpicture}[baseline=(current axis.south)]
    \begin{axis}[xlabel = {$C$}]
    \addplot [color=blue,solid, mark=*, mark options={solid},smooth] coordinates {(1,66.4)(2,43.4)(2,4.8)(4,3.1)(1,9.4)};
    \end{axis}
    \end{tikzpicture}
    \pgfplotsset{width=10cm,height=6cm}
    \begin{tikzpicture}[baseline=(current axis.south)]
    \begin{axis}[xlabel = {$D$}]
    \addplot [color=green,solid, mark=*, mark options={solid}] coordinates {(1,66.4)(2,43.4)(3,4.8)(4,4.1)(5,9.2)};
    \end{axis}
    \end{tikzpicture}
    \pgfplotsset{width=8cm,height=6cm}
    \begin{tikzpicture}[baseline=(current axis.south)]
    \begin{axis}[xlabel = {$E$}]
    \addplot [color=pink,solid, mark=*, mark options={solid}] coordinates {(1,66.4)(2,43.4)(3,4.8)(4,4.1)(5,9.4)};
    \end{axis}
    \end{tikzpicture}
    \pgfplotsset{width=10cm,height=6cm}
    \begin{tikzpicture}[baseline=(current axis.south)]
    \begin{axis}[xlabel = {$F$}]
    \addplot [color=green,solid, mark=*, mark options={solid}] coordinates {(1,66.4)(2,43.2)(2,4.8)(4,4.1)(4,9.4)};
    \end{axis}
    \end{tikzpicture}

\end{minipage}
\end{document}

gefragt 23 Aug '16, 13:21

jenny's gravatar image

jenny
611
Akzeptiert-Rate: 0%

bearbeitet 23 Aug '16, 14:32


Suchst du eventuell nach groupplots?

Open in Online-Editor
\documentclass{article}
\usepackage{pgfplots}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{tikzpicture}[solid */.style={solid,mark=*,mark options={solid}}]
  \begin{groupplot}[group style={group size=2 by 3},width=5cm,height=4cm,]
    \nextgroupplot[xlabel = {$A$}]
    \addplot [red,solid *,smooth] coordinates {(2,6.45)(1,3.4)(3,4.8)(4,4.1)(5,2.4)};
    \nextgroupplot[xlabel = {$B$}]
    \addplot [green,solid *,smooth] coordinates {(1,66.4)(2,43.4)(3,4.3)(4,4.1)(5,9.4)};
    \nextgroupplot[xlabel = {$C$}]
    \addplot [blue,solid *,smooth] coordinates {(1,66.4)(2,43.4)(2,4.8)(4,3.1)(1,9.4)};
    \nextgroupplot[xlabel = {$D$}]
    \addplot [green,solid *] coordinates {(1,66.4)(2,43.4)(3,4.8)(4,4.1)(5,9.2)};
    \nextgroupplot[xlabel = {$E$}]
    \addplot [pink,solid *] coordinates {(1,66.4)(2,43.4)(3,4.8)(4,4.1)(5,9.4)};
    \nextgroupplot[xlabel = {$F$}]
    \addplot [green,solid *] coordinates {(1,66.4)(2,43.2)(2,4.8)(4,4.1)(4,9.4)};
  \end{groupplot}
\end{tikzpicture}
\end{document}

alt text

Permanenter link

beantwortet 23 Aug '16, 15:11

Henri's gravatar image

Henri
15.7k133943
Akzeptiert-Rate: 46%

bearbeitet 23 Aug '16, 15:14

Deine Antwort
Vorschau umschalten

Folgen dieser Frage

Per E-Mail:

Wenn sie sich anmelden, kommen Sie für alle Updates hier in Frage

Per RSS:

Antworten

Antworten und Kommentare

Markdown-Grundlagen

  • *kursiv* oder _kursiv_
  • **Fett** oder __Fett__
  • Link:[Text](http://url.com/ "Titel")
  • Bild?![alt Text](/path/img.jpg "Titel")
  • nummerierte Liste: 1. Foo 2. Bar
  • zum Hinzufügen ein Zeilenumbruchs fügen Sie einfach zwei Leerzeichen an die Stelle an der die neue Linie sein soll.
  • grundlegende HTML-Tags werden ebenfalls unterstützt

Frage-Themen:

×41

gestellte Frage: 23 Aug '16, 13:21

Frage wurde gesehen: 5,257 Mal

zuletzt geändert: 23 Aug '16, 15:14