%\title{PSTricks LaTeX Example 2: Graphing an interval}
% Original source: http://www.thelazymathematician.com/p/pstricks-examples.html
\documentclass[11pt]{article}
\usepackage{pst-all} %call the pstricks package
\begin{document}
\psset{xunit=0.5cm, yunit=0.5cm, yAxis=false} %scales the picture, removes the y-axis
\begin{pspicture}(-11,0)(11,0)
\psaxes[Dx=5, subticks=5]{<->}(0,0)(-11,0)(11,0) %creates axes
\psline[linewidth=3pt, linecolor=cyan]{o->}(-2,0)(11,0) %creates a thick, blue line from -2 (open) to infinity
\end{pspicture}
\end{document}