inverted first dimension of H to match normal plot axes, also had to flip the extents for the vertical axis to make it all work