Seite 1 von 1

tikz

Verfasst: Fr 11. Nov 2022, 10:23
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}

Re: tikz

Verfasst: Fr 11. Nov 2022, 15:27
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