%\documentclass[english,onecolumn,final]{svjour2}
\documentclass{article}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{pgflibraryshapes}
\usetikzlibrary {shapes}
\usepackage{calc}
\usepackage{color}
\definecolor{invisible}{gray}{1.0}
\definecolor{green}{rgb}{0.0,1.0,0.0}
%\input{commands.tex}
%define counters
\newcounter{mynum}



%\renewcommand\normalsize{\fontsize{20pt}{20pt}\selectfont}
\setlength{\textwidth}{20cm}
\setlength{\textheight}{30cm}


\pagenumbering{arabic}  % but no page numbers are printed because:
\pagestyle{empty}       % this is actually already in the kernel
\newcommand{\MainDocDir}{..}

\begin{document}

\newcommand{\coordinatesys}[5]{
	\path #1 coordinate (xy);
	\draw [-latex,very thick](xy) +(0,0) -- +(4,0); 
	\draw [-latex,very thick](xy) +(0,0) -- +(0,4);
	\draw (xy) +(0,2.2) -- +(1.1,2.2);
	\draw (xy) +(1,0) -- +(1,2.3);
	
	\draw [-latex] (xy) +(1.5,1.7) -- +(1.1,2.1);	

	\draw (xy) +(3,1.5) node {#5};
	\draw (xy) +(2.5,3.5) node {#2};
	\draw (xy) +(3,0.2) node {#3};
	\draw (xy) +(0.2,4.2) node {#4};
}



\newcommand{\coordinatedreid}[6]{
	\path #1 coordinate (xy);
	\draw [-latex,very thick](xy) +(0,0) -- +(4,0); 
	\draw [-latex,very thick](xy) +(0,0) -- +(0,4);
	\draw [-latex,very thick](xy) +(0,0) -- +(3,1.5);
	
	\draw (xy) +(0,2) -- +(1,2);
	\draw (xy) +(1,0) -- +(1,2);
	\draw (xy) +(1,2) -- +(2.1,2.5);
	\draw (xy) +(1,0) -- +(2,0.5);	
	\draw (xy) +(1,0.5) -- +(2,0.5);
	\draw (xy) +(2,0.5) -- +(2,2.6); 

	\draw [-latex] (xy) +(2.5,2.65) -- +(2.1,2.55);	

	\draw (xy) +(3.5,2.6) node {#6};
	\draw (xy) +(3.7,1.5) node {#5};
	\draw (xy) +(2.5,3.5) node {#2};
	\draw (xy) +(3,0.2) node {#3};
	\draw (xy) +(0.2,4.2) node {#4};
}




\newcommand{\texpic}{

\begin{tikzpicture}

%\draw [-latex,very thick](0,0) -- (10,0);
%\draw [-latex,very thick](0,0) -- (0,10);



\coordinatesys{(0,0)}{POST}{source(0)}{synapsennr.(1)}{nr. des postneurons}

\coordinatesys{(6,0)}{S}{source(0)}{synapsennr.(1)}{Gewichtsstaerke}

\coordinatesys{(0,-6)}{DELAY-LENGTH}{source(0)}{synapsennr.(1)}{?}

\coordinatedreid{(6,-6)}{DELAYS}{source(0)}{delay(1)}{?(2)}{synapsennr.}

\end{tikzpicture}
}

\color{invisible}
.\\
.
\color{black}
\texpic
\color{invisible}
.
\end{document}