Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[border=5mm]{standalone}
- usepackage{pgfplots}
- pgfplotsset{compat=newest}
- begin{filecontents}{data.csv}
- Date;Time;Time_Diff;Time_numeric;Temp_1;Temp_2
- 16.03.2019;18:48:24;00:00:00;0;30;69
- 16.03.2019;18:48:54;00:00:30;0.008;31;68
- 16.03.2019;18:49:24;00:01:00;0.017;32;67
- 16.03.2019;18:49:54;00:01:30;0.025;33;66
- 16.03.2019;18:50:24;00:02:00;0.033;34;65
- 16.03.2019;18:50:54;00:02:30;0.042;35;64
- 16.03.2019;18:51:24;00:03:00;0.05;36;63
- 16.03.2019;18:51:54;00:03:30;0.058;37;62
- 16.03.2019;18:52:24;00:04:00;0.067;38;61
- 16.03.2019;18:52:54;00:04:30;0.075;39;60
- 16.03.2019;18:53:24;00:05:00;0.083;40;59
- 16.03.2019;18:53:54;00:05:30;0.092;41;58
- 16.03.2019;18:54:24;00:06:00;0.1;42;57
- 16.03.2019;18:54:54;00:06:30;0.108;43;56
- 16.03.2019;18:55:24;00:07:00;0.117;44;55
- 16.03.2019;18:55:54;00:07:30;0.125;45;54
- 16.03.2019;18:56:24;00:08:00;0.133;46;53
- 16.03.2019;18:56:54;00:08:30;0.142;47;52
- 16.03.2019;18:57:24;00:09:00;0.15;48;51
- 16.03.2019;18:57:54;00:09:30;0.158;49;50
- end{filecontents}
- begin{document}
- begin{tikzpicture}
- begin{axis}[axis y line* = left,
- table/col sep = semicolon]%
- addplot table[x=Time_numeric,y=Temp_1]{data.csv};
- end{axis}%
- %
- begin{axis}[axis x line = none,
- axis y line* = right,
- table/col sep = semicolon]%
- addplot table[x=Time_numeric,y=Temp_2]{data.csv};
- end{axis}%
- end{tikzpicture}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement