Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{standalone}
- usepackage{pgfplots}
- usepgfplotslibrary{dateplot}
- pgfplotsset{compat=newest}
- begin{document}
- begin{tikzpicture}
- begin{axis}[
- date coordinates in=x,
- xticklabel style={rotate=90,anchor=near xticklabel},
- xticklabel=year-month-day
- ]
- addplot table [red] {%
- 2016-10-10 50
- 2016-10-11 56
- };
- end{axis}
- end{tikzpicture}
- end{document}
- documentclass{standalone}
- usepackage{pgfplots}
- usepgfplotslibrary{dateplot}
- pgfplotsset{compat=newest}
- begin{document}
- begin{tikzpicture}
- begin{axis}[
- date coordinates in=x,
- xticklabel style={rotate=90,anchor=near xticklabel},
- xticklabel=year-month-day
- ]
- addplot table [red] {%
- 2016-10-10 13:10 50
- 2016-10-11 12:55 56
- };
- end{axis}
- end{tikzpicture}
- end{document}
- ! Package PGF Math Error: Could not parse input '12:55' as a floating
- point number, sorry. The unreadable part was near ':55'..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement