% This file was created by matlab2tikz.
%
\definecolor{mycolor1}{rgb}{0.57300,0.05900,0.68200}%
\definecolor{mycolor2}{rgb}{0.30100,0.74500,0.93300}%
\definecolor{mycolor3}{rgb}{0.10000,0.42000,0.68000}%
%
\begin{tikzpicture}

\begin{axis}[%
width=0.951\figurewidth,
height=\figureheight,
at={(0\figurewidth,0\figureheight)},
scale only axis,
clip=false,
xmin=0,
xmax=2,
tick align=outside,
xlabel style={font=\color{white!15!black}},
xlabel={\figureXLabel},
ymin=0,
ymax=1,
ylabel style={font=\color{white!15!black}},
ylabel={\figureYLabel},
zmin=0,
zmax=2,
zlabel style={font=\color{white!15!black}},
zlabel={\figureZLabel},
view={-37.5}{30},
axis background/.style={fill=white},
axis x line*=bottom,
axis y line*=left,
axis z line*=left,
xmajorgrids,
ymajorgrids,
zmajorgrids
]
\addplot3 [color=mycolor1]
 table[row sep=crcr] {%
0	0	1\\
0.03893	9.806e-05	1\\
0.07583	0.0003849	1\\
0.1108	0.0008505	1\\
0.1441	0.001486	1\\
0.1758	0.002283	1\\
0.206	0.003235	1\\
0.2347	0.004336	1\\
0.2622	0.005579	1\\
0.2885	0.00696	1\\
0.3136	0.008475	1\\
0.3376	0.01012	1\\
0.3606	0.01189	1\\
0.3827	0.01378	1\\
0.4039	0.0158	1\\
0.4243	0.01793	1\\
0.4439	0.02018	1\\
0.4627	0.02254	1\\
0.4809	0.02502	1\\
0.4983	0.0276	1\\
0.5152	0.0303	1\\
0.5314	0.03311	1\\
0.5471	0.03603	1\\
0.5622	0.03906	1\\
0.5768	0.0422	1\\
0.5909	0.04545	1\\
0.6046	0.04882	1\\
0.6178	0.05229	1\\
0.6306	0.05587	1\\
0.6429	0.05957	1\\
0.6549	0.06338	1\\
0.6665	0.06731	1\\
0.6778	0.07135	1\\
0.6887	0.07551	1\\
0.6993	0.07979	1\\
0.7096	0.08419	1\\
0.7196	0.08872	1\\
0.7293	0.09337	1\\
0.7387	0.09815	1\\
0.7479	0.1031	1\\
0.7568	0.1081	1\\
0.7654	0.1133	1\\
0.7738	0.1186	1\\
0.782	0.1241	1\\
0.7899	0.1297	1\\
0.7977	0.1355	1\\
0.8052	0.1414	1\\
0.8125	0.1474	1\\
0.8196	0.1537	1\\
0.8266	0.1601	1\\
0.8333	0.1667	1\\
0.8399	0.1734	1\\
0.8463	0.1804	1\\
0.8526	0.1875	1\\
0.8586	0.1948	1\\
0.8645	0.2023	1\\
0.8703	0.2101	1\\
0.8759	0.218	1\\
0.8814	0.2262	1\\
0.8867	0.2346	1\\
0.8919	0.2432	1\\
0.8969	0.2521	1\\
0.9018	0.2613	1\\
0.9066	0.2707	1\\
0.9113	0.2804	1\\
0.9158	0.2904	1\\
0.9202	0.3007	1\\
0.9245	0.3113	1\\
0.9287	0.3222	1\\
0.9327	0.3335	1\\
0.9366	0.3451	1\\
0.9404	0.3571	1\\
0.9441	0.3694	1\\
0.9477	0.3822	1\\
0.9512	0.3954	1\\
0.9545	0.4091	1\\
0.9578	0.4232	1\\
0.9609	0.4378	1\\
0.964	0.4529	1\\
0.9669	0.4686	1\\
0.9697	0.4848	1\\
0.9724	0.5017	1\\
0.975	0.5191	1\\
0.9775	0.5373	1\\
0.9798	0.5561	1\\
0.9821	0.5757	1\\
0.9842	0.5961	1\\
0.9862	0.6173	1\\
0.9881	0.6394	1\\
0.9899	0.6624	1\\
0.9915	0.6864	1\\
0.993	0.7115	1\\
0.9944	0.7378	1\\
0.9957	0.7653	1\\
0.9968	0.794	1\\
0.9977	0.8242	1\\
0.9985	0.8559	1\\
0.9991	0.8892	1\\
0.9996	0.9242	1\\
0.9999	0.9611	1\\
1	1	1\\
};
 \addplot3 [color=mycolor2]
 table[row sep=crcr] {%
0	0	1\\
0.0397	0.0001	1.02\\
0.0788	0.0004	1.039\\
0.1173	0.0009	1.058\\
0.1552	0.0016	1.077\\
0.1925	0.0025	1.095\\
0.2292	0.0036	1.113\\
0.2653	0.0049	1.13\\
0.3008	0.0064	1.147\\
0.3357	0.0081	1.164\\
0.37	0.01	1.18\\
0.4037	0.0121	1.196\\
0.4368	0.0144	1.211\\
0.4693	0.0169	1.226\\
0.5012	0.0196	1.241\\
0.5325	0.0225	1.255\\
0.5632	0.0256	1.269\\
0.5933	0.0289	1.282\\
0.6228	0.0324	1.295\\
0.6517	0.0361	1.308\\
0.68	0.04	1.32\\
0.7077	0.0441	1.332\\
0.7348	0.0484	1.343\\
0.7613	0.0529	1.354\\
0.7872	0.0576	1.365\\
0.8125	0.0625	1.375\\
0.8372	0.0676	1.385\\
0.8613	0.0729	1.394\\
0.8848	0.0784	1.403\\
0.9077	0.0841	1.412\\
0.93	0.09	1.42\\
0.9517	0.0961	1.428\\
0.9728	0.1024	1.435\\
0.9933	0.1089	1.442\\
1.013	0.1156	1.449\\
1.033	0.1225	1.455\\
1.051	0.1296	1.461\\
1.069	0.1369	1.466\\
1.087	0.1444	1.471\\
1.104	0.1521	1.476\\
1.12	0.16	1.48\\
1.136	0.1681	1.484\\
1.151	0.1764	1.487\\
1.165	0.1849	1.49\\
1.179	0.1936	1.493\\
1.193	0.2025	1.495\\
1.205	0.2116	1.497\\
1.217	0.2209	1.498\\
1.229	0.2304	1.499\\
1.24	0.2401	1.5\\
1.25	0.25	1.5\\
1.26	0.2601	1.5\\
1.269	0.2704	1.499\\
1.277	0.2809	1.498\\
1.285	0.2916	1.497\\
1.293	0.3025	1.495\\
1.299	0.3136	1.493\\
1.305	0.3249	1.49\\
1.311	0.3364	1.487\\
1.316	0.3481	1.484\\
1.32	0.36	1.48\\
1.324	0.3721	1.476\\
1.327	0.3844	1.471\\
1.329	0.3969	1.466\\
1.331	0.4096	1.461\\
1.333	0.4225	1.455\\
1.333	0.4356	1.449\\
1.333	0.4489	1.442\\
1.333	0.4624	1.435\\
1.332	0.4761	1.428\\
1.33	0.49	1.42\\
1.328	0.5041	1.412\\
1.325	0.5184	1.403\\
1.321	0.5329	1.394\\
1.317	0.5476	1.385\\
1.313	0.5625	1.375\\
1.307	0.5776	1.365\\
1.301	0.5929	1.354\\
1.295	0.6084	1.343\\
1.288	0.6241	1.332\\
1.28	0.64	1.32\\
1.272	0.6561	1.308\\
1.263	0.6724	1.295\\
1.253	0.6889	1.282\\
1.243	0.7056	1.269\\
1.232	0.7225	1.255\\
1.221	0.7396	1.241\\
1.209	0.7569	1.226\\
1.197	0.7744	1.211\\
1.184	0.7921	1.196\\
1.17	0.81	1.18\\
1.156	0.8281	1.164\\
1.141	0.8464	1.147\\
1.125	0.8649	1.13\\
1.109	0.8836	1.113\\
1.093	0.9025	1.095\\
1.075	0.9216	1.077\\
1.057	0.9409	1.058\\
1.039	0.9604	1.039\\
1.02	0.9801	1.02\\
1	1	1\\
};
 \addplot3 [color=mycolor3, line width=1.1pt, draw=none, mark size=4.0pt, mark=x, mark options={solid, mycolor3}]
 table[row sep=crcr] {%
0	0	1\\
1	0	1\\
1	1	1\\
};
 \addplot3 [color=mycolor2, line width=0.9pt, draw=none, mark size=2.5pt, mark=x, mark options={solid, mycolor2}]
 table[row sep=crcr] {%
0	0	1\\
2	0	2\\
1	1	1\\
};
 \node[right, align=left]
at (axis cs:-0.2,0.05,1) {$\tilde{\mv{p}}_0$};
\node[right, align=left]
at (axis cs:-0.05,-0.05,1.02) {$\cp{0}$};
\node[right, align=left]
at (axis cs:1.8,0.05,2) {$\tilde{\mv{p}}_1$};
\node[right, align=left]
at (axis cs:0.95,-0.05,1.02) {$\cp{1}$};
\node[right, align=left]
at (axis cs:0.8,1.05,1) {$\tilde{\mv{p}}_2$};
\node[right, align=left]
at (axis cs:0.95,0.95,1.02) {$\cp{2}$};
\addplot3 [color=darkgray, dashed, mark size=0.7pt, mark=*, mark options={solid, darkgray}]
 table[row sep=crcr] {%
0	0	0\\
0	0	1\\
0	0	1\\
};
 \addplot3 [color=darkgray, dashed, mark size=0.7pt, mark=*, mark options={solid, darkgray}]
 table[row sep=crcr] {%
0	0	0\\
0.5152	0.0303	1\\
0.68	0.04	1.32\\
};
 \addplot3 [color=darkgray, dashed, mark size=0.7pt, mark=*, mark options={solid, darkgray}]
 table[row sep=crcr] {%
0	0	0\\
0.7568	0.1081	1\\
1.12	0.16	1.48\\
};
 \addplot3 [color=darkgray, dashed, mark size=0.7pt, mark=*, mark options={solid, darkgray}]
 table[row sep=crcr] {%
0	0	0\\
0.8919	0.2432	1\\
1.32	0.36	1.48\\
};
 \addplot3 [color=darkgray, dashed, mark size=0.7pt, mark=*, mark options={solid, darkgray}]
 table[row sep=crcr] {%
0	0	0\\
0.9697	0.4848	1\\
1.28	0.64	1.32\\
};
 \addplot3 [color=darkgray, dashed, mark size=0.7pt, mark=*, mark options={solid, darkgray}]
 table[row sep=crcr] {%
0	0	0\\
1	1	1\\
1	1	1\\
};
 \addplot3 [color=darkgray, dashed, mark size=0.7pt, mark=*, mark options={solid, darkgray}]
 table[row sep=crcr] {%
0	0	0\\
1	1	1\\
1	1	1\\
};
 \addplot3 [color=darkgray, dashed, mark size=0.7pt, mark=*, mark options={solid, darkgray}]
 table[row sep=crcr] {%
0	0	0\\
1	0	1\\
2	0	2\\
};
 
\addplot3[area legend, draw=none, fill=gray, fill opacity=0.2, forget plot]
table[row sep=crcr] {%
x	y	z\\
1	0	1\\
1	1	1\\
0	1	1\\
0	0	1\\
}--cycle;
\node[right, align=left]
at (axis cs:0.1,0.95,1) {$w=1$};
\end{axis}
\end{tikzpicture}%