Hot answers tagged

4

It sort of looks like you're trying to use the dateplot library, but as described in the manual, you need to specify a date, not just the time: Note also that it should be date coordinates in=x, not Time coordinates in=x. After adding a date to the input file, and adjusting the values for xmin/xmax accordingly: \begin{filecontents}{mwe.csv} Time,a,b 2020-1-...


3

As frougon mentions, your code is far from complete. Maybe the following goes in the right direction. \documentclass[tikz,border=3mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.16} \usepgfplotslibrary{dateplot} \usepackage{filecontents} \begin{filecontents}{mwe.csv} Time,a,b 00:00,0,10 10:30,6,4 11:30,5,5 12:30,3,7 13:30,2,8 \end{...


Only top voted, non community-wiki answers of a minimum length are eligible