uency band. 

[mn,n,d,o] = rsf_read_all([resultsdir '/bg2_batch/mn_17.rsf']);
vn = real(1./sqrt(mn));

figure('Position',scnsize./[1 1 2 2]);imagesc(x,z,vn,[1.5 4.5]);colorbar;set(gca,'plotboxaspectratio',[3 1 1]);
xlabel('x [km]');ylabel('z [km]'); title('final model');

%%
% 
xslices = [3 8 13];
for i=1:length(xslices)
    ix = x==xslices(i);
    figure;plot(v(:,ix),z,'k',v0(:,ix),z,'kREPLACE_WITH_DASH_DASH',vn(:,ix),z,'r');axis ij; ylim([0 2]);set(gca,'plotboxaspectratio',[1 1.5 1]);
    xlabel('v [km/s]