I am trying to write a code snippet which will take a 2D array of integers or floats and create a 2D contour plot. The head slice example is relatively close to what I would like to achieve however I would like to have an x and y axis with ticks and values along them. The whole thing should also be zoomable but lets start with the basics. Is there an example with this type of figures/plots? I would also be happy with some sort of pseudo code as well. Many thanks!