%% Autor: X. Rendtel 
%% Letzte Aenderung: 23.11.2008
 
\documentclass[10pt, a4paper]{article}
\usepackage[utf8x]{inputenc}
\usepackage{euler,calc,pstricks,rotating,graphicx,multido}
\usepackage{pst-pdf,pst-node,xcolor,pst-circ,pst-func,pst-math,pst-eucl,pstricks-add}
\usepackage[greek,german]{babel}
\usepackage[LGR,T1]{fontenc}
\usepackage{mathpazo,avant,courier}
 
\makeatletter\newcommand{\psxpoint}[3][black]{%
  \psline[linewidth=.5pt]{-}(#2,\pst@xticksizeB)(#2,\pst@xticksizeA)
  \rput[t](! #2 \pst@number\pslabelsep \pst@number\pst@xticksizeB add
    \pst@number\psyunit div neg ){\color{#1}#3}}
\makeatother

\makeatletter\newcommand{\psypoint}[3][black]{%
  \psline[linewidth=.5pt]{-}(\pst@yticksizeB,#2)(\pst@yticksizeA,#2)
  \rput[r](! \pst@number\pslabelsep \pst@number\pst@yticksizeA sub
    \pst@number\psxunit div neg #2){\color{#1}#3}}
\makeatother
 
\newcommand{\EUR}{\textgreek{\euro}}
\pagestyle{empty}
\begin{document}
  
\psset{
 dotstyle = *, plotpoints=10000, 
 dotsize = 3pt,
 linewidth = 3pt,
 linecolor = black,
 arrowsize = 3pt 2,
 arrowinset = 0.25,
 xunit = 0.1cm,
 yunit = 0.25cm,
 algebraic = true} 
 
\begin{pspicture}(-8,-4.8)(132,29)
 
% Kariertes Papier wird erzeugt 
 \psgrid [
 xunit = 10,
 yunit = 4,
 gridwidth = 1pt,
 gridcolor = lightgray,
 griddots = 0,
 gridlabels = 0pt,
 subgriddiv = 0,
 subgridwidth = 0pt,
 subgridcolor = lightgray,
 subgriddots = 0]  
(0,0)(0,0)(12,6) 
  
% Ein Koordinatensystem wird gezeichnet 
\psaxes [
 comma,
 showorigin = false,
 Dx = 10,
 Dy = 4,
 dx = 0 pt,
 dy = 0 pt,
 Ox = 0,
 Oy = 0, 
linewidth = 0.8pt,
 linestyle = solid]{->}% 
(0,0) 
(0,0) 
(120,25) 
\uput{0}[-90]{0}(122,-0.8){$t$ in min} 
\uput{0}[0]{0}(2,25){Preis in \EUR{}} 
 
% Text 
\uput{0}[l]{0}(80,6){Tarif 1} 
% Text 
\uput{0}[l]{0}(80,4){\color{blue}{Tarif 2}} 
% Text 
\uput{0}[l]{0}(80,2){\color{red}{Tarif 3}} 
% Ein Graph wird gezeichnet 
\psplot[
 linewidth = 1pt,
 linestyle = solid]% 
{0.0000}{120.0000}{0.17*x} 
 
% Ein Graph wird gezeichnet 
\psplot[
 linecolor = blue,
 linewidth = 1pt,
 linestyle = solid]% 
{0.0000}{120.0000}{0.1*x+4.95} 
 
% Ein Graph wird gezeichnet 
\psplot[
 linecolor = red,
 linewidth = 1pt,
 linestyle = solid]% 
{0.0000}{120.0000}{0.06*x+14.79} 
 
\end{pspicture} 
\end{document} 

