input">[v,n,d,o] = rsf_read_all([datadir <span class="string">'/bg2v.rsf'</span>]);
[v0,n,d,o] = rsf_read_all([datadir <span class="string">'/bg2v0.rsf'</span>]);

v  = 1e-3*v;
v0 = 1e-3*v0;
[z,x] = odn2grid(o,d,n);
z = z*1e-3; x = x*1e-3;
</pre><pre class="codeinput">scnsize = get(0,<span class="string">'ScreenSize'</span>);

<span class="comment">% The true and initial model</span>
<span class="comment">%</span>

figure(<span class="string">'Position'</span>,scnsize./[1 1 2 2]);imagesc(x,z,v,[1.5 4.5]);co