\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows, calc, decorations.pathreplacing}
\usepackage{units}
\usepackage[graphics, active, tightpage]{preview}
\usepackage{pgfplots}
\usepackage{amsmath}
\usepackage[outline]{contour}
\contourlength{1.2pt}
\usepackage{ocr}
\PreviewEnvironment{tikzpicture}

\pgfplotsset{compat=1.16}

\definecolor{presDark}{RGB}{39,1,136}
\definecolor{presDark2}{RGB}{87,80,149}
\definecolor{presLight}{RGB}{139,131,215}
\definecolor{presLight2}{RGB}{0,129,203}

\definecolor{presHighlight}{RGB}{215,50,50}

\begin{document}

\begin{tikzpicture}[
        xscale=4,
        every path/.style={thick}]
\draw (0,0) -- (1,0);
\foreach \i in {0, .1, ..., 1.1} {
    \draw (\i,0) -- (\i,.2);
}
\node at (0,.2) [above] {0};
\node at (.5,.2) [above] {0.5};
\node at (1,.2) [above] {1};
\node at (.5,0) [below] {\verb|bh.axis.Regular(10,0,1)|};
\end{tikzpicture}

\end{document}
