% This file was created by matlab2tikz.
%
%The latest updates can be retrieved from
%  http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz-matlab2tikz
%where you can also make suggestions and rate matlab2tikz.
%
\begin{tikzpicture}

\begin{axis}[%
width=0.951\figurewidth,
height=\figureheight,
at={(0\figurewidth,0\figureheight)},
scale only axis,
xmin=-5,
xmax=30,
ymin=-0.1,
ymax=1.1,
axis background/.style={fill=white},
legend style={legend cell align=left,align=left,draw=white!15!black}
]
\addplot [color=blue,solid]
  table[row sep=crcr]{%
0	0\\
4	0.5\\
5	1\\
6	0.5\\
10	0\\
};
\addlegendentry{$\mu{}_{\text{x}_\text{1}}\text{(z)}$};

\addplot [color=green,solid]
  table[row sep=crcr]{%
4	0\\
5	0.5\\
9	1\\
11	1\\
15	0.5\\
16	0\\
};
\addlegendentry{$\mu{}_{\text{x}_\text{2}}\text{(z)}$};

\addplot [color=red,solid]
  table[row sep=crcr]{%
4	0\\
9	0.5\\
14	1\\
16	1\\
21	0.5\\
26	0\\
};
\addlegendentry{$\mu{}_\text{y}\text{(z)}$};

\addplot [color=black,dashed,forget plot]
  table[row sep=crcr]{%
-5	0\\
30	0\\
};
\addplot [color=black,dashed,forget plot]
  table[row sep=crcr]{%
-5	0.5\\
30	0.5\\
};
\addplot [color=black,dashed,forget plot]
  table[row sep=crcr]{%
-5	1\\
30	1\\
};
\end{axis}
\end{tikzpicture}%