von basti-fantasti-48 » Fr 11. Nov 2022, 10:23
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}
Hallo, das Bild will ich in latex haben.
In latex schaut es aber leider so aus:
[code]
\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}
[/code]