added code to plot depth map