Relative Content

Tag Archive for imagematplotlibplotcolorbar

How to plot two images of same shape in a plot, with one colorbar and still getting the images to be the same size?

I am trying to plot two satellite images next to eachother. The images is of the same area and have the same shape. One image is true color, and the other i have performed my analysis on. I want the images to appear the same size in the plot, as it is easier to compare. However, i only want the colorbar for the one where i have performed my analysis to be included. The image shape is 300*300 if that matters. And i want a nice plot where both images have the same height Y, width X.