s([-4,5]);
        xlabel(<span class="string">'x'</span>);ylabel(<span class="string">'y'</span>);zlabel(<span class="string">'z'</span>)
        colorbar
    <span class="keyword">end</span>
    title(<span class="string">'Prior Samples'</span>)
    pause(0.5)
<span class="keyword">end</span>



 figure;
<span class="keyword">for</span> i = 1:5
    fstar = GP.sampleposterior(xstar);
    clf
    <span class="keyword">for</span> ii = 1:5
        camlight
        lighting <span class="string">gouraud</span>
