How can I reproduce the top picture?
Here's what I have so far:
\begin{tikzpicture}
\begin{axis}[xticklabel style={anchor=east,rotate=90},
date coordinates in=x,
xticklabel={\day.\month.\year},
table/col sep = semicolon,
height = 0.3\paperheight,
width = 0.5\paperwidth,
xmin=2015-10-01,
xmax=2015-12-31,
ymin=30,
ymax=55,
/pgf/number format/1000 sep={},
no markers,
every axis plot/.append style={ultra thick}
]
\addplot table[x index=0, y index=2, col sep=comma] {oil_prices.csv};
\addlegendentry{Нефть Brent}
\addplot table[x index=0, y index=1, col sep=comma] {oil_prices.csv};
\addlegendentry{Нефть WTI}
\end{axis}
\end{tikzpicture}
but it produces the following picture, where the x ticks are wrong.


pgpflotsforxtick. (To be even more helpful, section 4.15 Tick Options) – Torbjørn T. May 29 '16 at 17:32