
<pre class="codeinput">
bg = rand(128);
fg = peaks(128);
overlayPlot(bg, fg);
</pre>

<img vspace="5" hspace="5" src="images/overlayPlot_01.png" style="width:560px;height:420px;" alt="">

<h2>Inputs</h2>

<table class="body">
    <tr valign="top">
        <td width = "150"><code>x, y</code></td>
        <td>vectors describing the position of the pixels in the image equivalent to <code><a href="matlab: doc image">image</a></code>(x, y, c)</td>
    </tr>    
    <tr valign="top">
        <td><code>bg</code><