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

\begin{scope}
孟霞 committed
5 6 7 8 9
\draw [->,thick] (0,0) -- (3.1,0);
\draw [->,thick] (0,0) -- (0, 2.1);
\draw [-,very thick,ublue,domain=0.55:2.6,samples=100] plot (\x,{ 1/\x - 0.2});
\node [anchor=east] (ylabel) at (0, 4.4em) {\footnotesize{$x_1$}};
\node [anchor=north] (xlabel) at (6.5em, 0em) {\scriptsize{距离(km)}};
孟霞 committed
10 11
\end{scope}

孟霞 committed
12 13 14 15 16 17
\begin{scope}[xshift=10em]
\draw [->,thick] (0,0) -- (3.1,0);
\draw [->,thick] (0,0) -- (0, 2.1);
\draw [-,very thick,ublue,domain=0.3:2.6,samples=100] plot (\x,{ 0.5/\x});
\node [anchor=east] (ylabel) at (0, 4.4em) {\footnotesize{$x_2$}};
\node [anchor=north] (xlabel) at (6.5em, 0em) {\scriptsize{票价(元)}};
孟霞 committed
18 19
\end{scope}

孟霞 committed
20 21 22 23
\begin{scope}[xshift=20em]
\draw [->,thick] (0,0) -- (3.1,0);
\draw [->,thick] (0,0) -- (0, 2.1);
\node [anchor=east] (ylabel) at (0, 4.4em) {\footnotesize{$x_3$}};
孟霞 committed
24 25
\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) {};
孟霞 committed
26 27 28
\node [anchor=north] (hlabel1) at (histogram1.south) {\tiny{不喜欢}};
\node [anchor=north] (hlabel2) at (histogram2.south) {\tiny{喜欢}};
\node [anchor=north] (xlabel) at (6.5em, 0em) {\scriptsize{是否喜欢}};
孟霞 committed
29 30 31 32 33 34
\end{scope}

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