figure-different-forms-of-neuronal-input.tex 1.43 KB
Newer Older
孟霞 committed
1 2 3 4 5 6 7
%%%------------------------------------------------------------------------------------------------------------
\begin{tikzpicture}

\begin{scope}
\draw [->,thick] (0,0) -- (2.5,0);
\draw [->,thick] (0,0) -- (0, 1.5);
\draw [-,very thick,ublue,domain=0.6:2,samples=100] plot (\x,{ 1/\x - 0.2});
孟霞 committed
8
\node [anchor=east] (ylabel) at (0, 3.2em) {\footnotesize{$x_1$}};
孟霞 committed
9 10 11 12 13 14 15
\node [anchor=north] (xlabel) at (5em, 0em) {\scriptsize{距离(km)}};
\end{scope}

\begin{scope}[xshift=9em]
\draw [->,thick] (0,0) -- (2.5,0);
\draw [->,thick] (0,0) -- (0, 1.5);
\draw [-,very thick,ublue,domain=0.4:2,samples=100] plot (\x,{ 0.5/\x});
孟霞 committed
16
\node [anchor=east] (ylabel) at (0, 3.2em) {\footnotesize{$x_2$}};
孟霞 committed
17 18 19 20 21 22
\node [anchor=north] (xlabel) at (5em, 0em) {\scriptsize{票价(元)}};
\end{scope}

\begin{scope}[xshift=18em]
\draw [->,thick] (0,0) -- (2.5,0);
\draw [->,thick] (0,0) -- (0, 1.5);
孟霞 committed
23
\node [anchor=east] (ylabel) at (0, 3.2em) {\footnotesize{$x_3$}};
孟霞 committed
24 25 26 27 28 29 30 31 32 33
\node [anchor=south, fill=ublue, minimum width=1.5em, minimum height=0.1em, inner sep=0] (histogram1) at (1.5em, 0) {};
\node [anchor=south, fill=ublue, minimum width=1.5em, minimum height=3em, inner sep=0] (histogram2) at (4.0em, 0) {};
\node [anchor=north] (hlabel1) at (histogram1.south) {\tiny{女友不去}};
\node [anchor=north] (hlabel2) at (histogram2.south) {\tiny{女友去}};
\end{scope}

\end{tikzpicture}
%%%------------------------------------------------------------------------------------------------------------