tikz

Tabellen und Grafiken erstellen und anordnen


basti-fantasti-48
Forum-Fortgeschrittener
Forum-Fortgeschrittener
Beiträge: 96
Registriert: So 4. Apr 2021, 14:27

tikz

Beitrag von basti-fantasti-48 »

Hallo, das Bild will ich in latex haben.

In latex schaut es aber leider so aus:
\begin{document}
\begin{tikzpicture}[
	]
	\begin{axis}[
		xlabel=$t$, ylabel=$U_/cell}$, 
		axis y line*=left,
		]
		\addplot[color=green,
		select coords between index={1}{400},
		filter discard warning=false, unbounded coords=discard
		] table [x index=0, y index=2]{balancing.txt};
	\end{axis}
	\begin{axis}[
		xlabel=$t$, ylabel=$I(V_1)$, 
		axis y line*=right,
		axis x line=none,
		]
		\addplot[color=blue, 
		select coords between index={1}{400},
		filter discard warning=false, unbounded coords=discard
		] table [x index=0, y index=2]{balancing.txt};
	\end{axis}
\end{tikzpicture}
\end{document}

Benutzeravatar
Stefan Kottwitz
Admin
Admin
Beiträge: 2485
Registriert: Di 8. Jul 2008, 00:39
Kontaktdaten:

Re: tikz

Beitrag von Stefan Kottwitz »

Hallo Basti,

hier ist kein Bild zu sehen (Anhang vergessen?) und der Code ist nicht übersetzbar, weil der Anfang fehlt.

Viele Grüße,

Stefan

Antworten