% Plot the mesh mesh(xloc,yloc,zeros(jmax+1,imax+1)); view(2); % Turn plot into 2-D view xlabel('x'); ylabel('y');