Seite 1 von 1

TikZ aus QtiPlot

Verfasst: Mi 15. Okt 2014, 08:55
von DVMT12
Hallo Zusammen

Ich habe mit QtiPlot ein Bild editiert, nur kann ich es nun nicht setzen (mit XeLaTeX).
Ich vermute es liegt an fehlenden/falschen Usepackages.
Welche brauche ich noch?
\documentclass{scrartcl}
\usepackage{color}
\usepackage{selinput}
\SelectInputMappings{
  adieresis={ä},
  germandbls={ß}}
\usepackage{tikz}
\usetikzlibrary{arrows,automata,backgrounds,calendar,positioning,fit,shapes,calc}
\usepackage{pgfplots}
\usepackage{pgfkey}
\pgfplotsset{compat=1.9}
\usepgfplotslibrary{colormaps}

\begin{document} 

\begin{tikzpicture}{0pt}{0pt}{519pt}{423pt}
	\clip(0pt,423pt) -- (390.71pt,423pt) -- (390.71pt,104.56pt) -- (0pt,104.56pt) -- (0pt,423pt);
\begin{scope}
	\clip(45.1688pt,375.573pt) -- (345.541pt,375.573pt) -- (345.541pt,150.482pt) -- (45.1688pt,150.482pt) -- (45.1688pt,375.573pt);
	\color[rgb]{0,0,0}
	\fill(196.108pt,262.275pt) ellipse (2.63484pt and 2.63484pt);
	\draw[line width=1pt, line join=miter, line cap=rect](196.108pt,262.275pt) ellipse (2.63484pt and 2.63484pt);
\end{scope}

\begin{scope}
	\color[rgb]{0.235294,0.235294,0.235294}
	\pgftext[center, base, at={\pgfpoint{195.355pt}{405.685pt}}]{\fontsize{14}{0}\selectfont{\textbf{Titel}}}
	\color[rgb]{0,0,0}
	\pgftext[center, base, at={\pgfpoint{14.3034pt}{263.404pt}},rotate=90]{\fontsize{11}{0}\selectfont{\textbf{Y-Achsenbeschriftung}}}
	\color[rgb]{0.235294,0.235294,0.235294}
	\pgftext[center, base, at={\pgfpoint{26.3955pt}{146.718pt}}]{\fontsize{11}{0}\selectfont{0.4}}
	\pgftext[center, base, at={\pgfpoint{26.3955pt}{184.358pt}}]{\fontsize{11}{0}\selectfont{0.6}}
	\pgftext[center, base, at={\pgfpoint{26.3955pt}{221.999pt}}]{\fontsize{11}{0}\selectfont{0.8}}
	\pgftext[center, base, at={\pgfpoint{31.7181pt}{258.887pt}}]{\fontsize{11}{0}\selectfont{1}}
	\pgftext[center, base, at={\pgfpoint{26.3955pt}{296.528pt}}]{\fontsize{11}{0}\selectfont{1.2}}
	\pgftext[center, base, at={\pgfpoint{26.3955pt}{334.168pt}}]{\fontsize{11}{0}\selectfont{1.4}}
	\pgftext[center, base, at={\pgfpoint{26.3955pt}{371.809pt}}]{\fontsize{11}{0}\selectfont{1.6}}
	\color[rgb]{0,0,0}
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,159.516pt) -- (41.4047pt,159.516pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,178.336pt) -- (41.4047pt,178.336pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,197.156pt) -- (41.4047pt,197.156pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,215.977pt) -- (41.4047pt,215.977pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,234.797pt) -- (41.4047pt,234.797pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,253.617pt) -- (41.4047pt,253.617pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,272.438pt) -- (41.4047pt,272.438pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,291.258pt) -- (41.4047pt,291.258pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,310.078pt) -- (41.4047pt,310.078pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,328.898pt) -- (41.4047pt,328.898pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,347.719pt) -- (41.4047pt,347.719pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,366.539pt) -- (41.4047pt,366.539pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,169.302pt) -- (41.4047pt,169.302pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,206.943pt) -- (41.4047pt,206.943pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,244.583pt) -- (41.4047pt,244.583pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,281.471pt) -- (41.4047pt,281.471pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,319.112pt) -- (41.4047pt,319.112pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,356.752pt) -- (41.4047pt,356.752pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,150.482pt) -- (38.3934pt,150.482pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,188.123pt) -- (38.3934pt,188.123pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,225.763pt) -- (38.3934pt,225.763pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,262.651pt) -- (38.3934pt,262.651pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,300.292pt) -- (38.3934pt,300.292pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,337.932pt) -- (38.3934pt,337.932pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,375.573pt) -- (38.3934pt,375.573pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,375.573pt) -- (45.1688pt,150.482pt);
	\pgftext[center, base, at={\pgfpoint{383.934pt}{263.404pt}},rotate=90]{\fontsize{11}{0}\selectfont{\textbf{Y-Achsenbeschriftung}}}
	\color[rgb]{0.235294,0.235294,0.235294}
	\pgftext[center, base, at={\pgfpoint{363.655pt}{146.718pt}}]{\fontsize{11}{0}\selectfont{0.4}}
	\pgftext[center, base, at={\pgfpoint{363.655pt}{184.358pt}}]{\fontsize{11}{0}\selectfont{0.6}}
	\pgftext[center, base, at={\pgfpoint{363.655pt}{221.999pt}}]{\fontsize{11}{0}\selectfont{0.8}}
	\pgftext[center, base, at={\pgfpoint{358.439pt}{258.887pt}}]{\fontsize{11}{0}\selectfont{1}}
	\pgftext[center, base, at={\pgfpoint{363.655pt}{296.528pt}}]{\fontsize{11}{0}\selectfont{1.2}}
	\pgftext[center, base, at={\pgfpoint{363.655pt}{334.168pt}}]{\fontsize{11}{0}\selectfont{1.4}}
	\pgftext[center, base, at={\pgfpoint{363.655pt}{371.809pt}}]{\fontsize{11}{0}\selectfont{1.6}}
	\color[rgb]{0,0,0}
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,159.516pt) -- (348.552pt,159.516pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,178.336pt) -- (348.552pt,178.336pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,197.156pt) -- (348.552pt,197.156pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,215.977pt) -- (348.552pt,215.977pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,234.797pt) -- (348.552pt,234.797pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,253.617pt) -- (348.552pt,253.617pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,272.438pt) -- (348.552pt,272.438pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,291.258pt) -- (348.552pt,291.258pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,310.078pt) -- (348.552pt,310.078pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,328.898pt) -- (348.552pt,328.898pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,347.719pt) -- (348.552pt,347.719pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,366.539pt) -- (348.552pt,366.539pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,169.302pt) -- (350.058pt,169.302pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,206.943pt) -- (350.058pt,206.943pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,244.583pt) -- (350.058pt,244.583pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,281.471pt) -- (350.058pt,281.471pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,319.112pt) -- (350.058pt,319.112pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,356.752pt) -- (350.058pt,356.752pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,150.482pt) -- (351.563pt,150.482pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,188.123pt) -- (351.563pt,188.123pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,225.763pt) -- (351.563pt,225.763pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,262.651pt) -- (351.563pt,262.651pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,300.292pt) -- (351.563pt,300.292pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,337.932pt) -- (351.563pt,337.932pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,375.573pt) -- (351.563pt,375.573pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,375.573pt) -- (345.541pt,150.482pt);
	\pgftext[center, base, at={\pgfpoint{195.349pt}{114.347pt}}]{\fontsize{11}{0}\selectfont{\textbf{X-Achsenbeschriftung}}}
	\color[rgb]{0.235294,0.235294,0.235294}
	\pgftext[center, base, at={\pgfpoint{44.463pt}{129.403pt}}]{\fontsize{11}{0}\selectfont{0.4}}
	\pgftext[center, base, at={\pgfpoint{94.9014pt}{129.403pt}}]{\fontsize{11}{0}\selectfont{0.6}}
	\pgftext[center, base, at={\pgfpoint{144.587pt}{129.403pt}}]{\fontsize{11}{0}\selectfont{0.8}}
	\pgftext[center, base, at={\pgfpoint{195.831pt}{129.403pt}}]{\fontsize{11}{0}\selectfont{1}}
	\pgftext[center, base, at={\pgfpoint{244.711pt}{129.403pt}}]{\fontsize{11}{0}\selectfont{1.2}}
	\pgftext[center, base, at={\pgfpoint{294.397pt}{129.403pt}}]{\fontsize{11}{0}\selectfont{1.4}}
	\pgftext[center, base, at={\pgfpoint{344.835pt}{129.403pt}}]{\fontsize{11}{0}\selectfont{1.6}}
	\color[rgb]{0,0,0}
	\draw[line width=1pt, line join=bevel, line cap=rect](57.9666pt,150.482pt) -- (57.9666pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](82.8094pt,150.482pt) -- (82.8094pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](107.652pt,150.482pt) -- (107.652pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](132.495pt,150.482pt) -- (132.495pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](158.091pt,150.482pt) -- (158.091pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](182.933pt,150.482pt) -- (182.933pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](207.776pt,150.482pt) -- (207.776pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](232.619pt,150.482pt) -- (232.619pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](258.215pt,150.482pt) -- (258.215pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](283.058pt,150.482pt) -- (283.058pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](307.9pt,150.482pt) -- (307.9pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](332.743pt,150.482pt) -- (332.743pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](70.0116pt,150.482pt) -- (70.0116pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](120.45pt,150.482pt) -- (120.45pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](170.136pt,150.482pt) -- (170.136pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](220.574pt,150.482pt) -- (220.574pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](270.26pt,150.482pt) -- (270.26pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](320.698pt,150.482pt) -- (320.698pt,146.718pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,150.482pt) -- (45.1688pt,143.707pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](95.6072pt,150.482pt) -- (95.6072pt,143.707pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](145.293pt,150.482pt) -- (145.293pt,143.707pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](195.731pt,150.482pt) -- (195.731pt,143.707pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](245.417pt,150.482pt) -- (245.417pt,143.707pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](295.103pt,150.482pt) -- (295.103pt,143.707pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,150.482pt) -- (345.541pt,143.707pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,150.482pt) -- (345.541pt,150.482pt);
	\color[rgb]{0.235294,0.235294,0.235294}
	\pgftext[center, base, at={\pgfpoint{44.463pt}{387.618pt}}]{\fontsize{11}{0}\selectfont{0.4}}
	\pgftext[center, base, at={\pgfpoint{94.9014pt}{387.618pt}}]{\fontsize{11}{0}\selectfont{0.6}}
	\pgftext[center, base, at={\pgfpoint{144.587pt}{387.618pt}}]{\fontsize{11}{0}\selectfont{0.8}}
	\pgftext[center, base, at={\pgfpoint{195.831pt}{387.618pt}}]{\fontsize{11}{0}\selectfont{1}}
	\pgftext[center, base, at={\pgfpoint{244.711pt}{387.618pt}}]{\fontsize{11}{0}\selectfont{1.2}}
	\pgftext[center, base, at={\pgfpoint{294.397pt}{387.618pt}}]{\fontsize{11}{0}\selectfont{1.4}}
	\pgftext[center, base, at={\pgfpoint{344.835pt}{387.618pt}}]{\fontsize{11}{0}\selectfont{1.6}}
	\color[rgb]{0,0,0}
	\draw[line width=1pt, line join=bevel, line cap=rect](57.9666pt,375.573pt) -- (57.9666pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](82.8094pt,375.573pt) -- (82.8094pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](107.652pt,375.573pt) -- (107.652pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](132.495pt,375.573pt) -- (132.495pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](158.091pt,375.573pt) -- (158.091pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](182.933pt,375.573pt) -- (182.933pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](207.776pt,375.573pt) -- (207.776pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](232.619pt,375.573pt) -- (232.619pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](258.215pt,375.573pt) -- (258.215pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](283.058pt,375.573pt) -- (283.058pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](307.9pt,375.573pt) -- (307.9pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](332.743pt,375.573pt) -- (332.743pt,378.584pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](70.0116pt,375.573pt) -- (70.0116pt,380.09pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](120.45pt,375.573pt) -- (120.45pt,380.09pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](170.136pt,375.573pt) -- (170.136pt,380.09pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](220.574pt,375.573pt) -- (220.574pt,380.09pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](270.26pt,375.573pt) -- (270.26pt,380.09pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](320.698pt,375.573pt) -- (320.698pt,380.09pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,375.573pt) -- (45.1688pt,381.595pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](95.6072pt,375.573pt) -- (95.6072pt,381.595pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](145.293pt,375.573pt) -- (145.293pt,381.595pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](195.731pt,375.573pt) -- (195.731pt,381.595pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](245.417pt,375.573pt) -- (245.417pt,381.595pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](295.103pt,375.573pt) -- (295.103pt,381.595pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](345.541pt,375.573pt) -- (345.541pt,381.595pt);
	\draw[line width=1pt, line join=bevel, line cap=rect](45.1688pt,375.573pt) -- (345.541pt,375.573pt);
\end{scope}
\end{tikzpicture}
\end{document}
Vielen Dank!

Verfasst: Mi 15. Okt 2014, 09:10
von Johannes_B
Ich würde dir empfehlen die Datenpunkte zu exportieren, und diese dann direkt mit pgfplots zu plotten.

Dein Beispiel läuft super durch, wenn man den falschen Paketnamen anpasst, oder das Paket komplett rauswirft.

Verfasst: Mi 15. Okt 2014, 20:29
von DVMT12
Welches Package ist falsch/überflüssig?

Verfasst: Mi 15. Okt 2014, 20:57
von esdd
Wenn ein Paket nicht gefunden wird, bekommst Du doch eine entsprechende Fehlermeldung. Das eine Paket heißt pgfkeys (da fehlt bei Dir ein s).

Von den ganzen geladenen Paketen brauchst Du für den Code in dem Beispiel eigentlich nur
\usepackage{tikz}
oder, falls Du tatsächlich pgfplots nutzt, statt dessen
\usepackage{pgfplots} 
\pgfplotsset{compat=1.9}% aktuell ist aber 1.11
Die ganzen Bibliotheken verwendest Du vermutlich auch nicht.

Und die Zeilen
\usepackage{selinput} 
\SelectInputMappings{ 
   adieresis={ä}, 
   germandbls={ß}} 
sind bei Verwendung von pdflatex notwendig. Mit XeLaTeX bekommst Du dagegen auch dafür eine Fehlermeldung.

Gruß
Elke

Verfasst: Mi 15. Okt 2014, 22:03
von DVMT12
Oh, da lag die Lösung ja vor der Nase... Simpel und einfach!

Danke für's entwirren ;-)