%%%------------------------------------------------------------------------------------------------------------ \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}); \node [anchor=east] (ylabel) at (0, 3.2em) {\footnotesize{$x_0$}}; \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}); \node [anchor=east] (ylabel) at (0, 3.2em) {\footnotesize{$x_1$}}; \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); \node [anchor=east] (ylabel) at (0, 3.2em) {\footnotesize{$x_2$}}; \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} %%%------------------------------------------------------------------------------------------------------------