I'm trying to print an image above a bar plot in the same figure, manually changing their position using the set command with the OuterPosition option.
This works only if the vertical coordinate of the image is at least 0.42, in fact if it is below this value then the image disappears.
How can I place the image below 0.42?
subplot(2,1,1)imshow( imread('https://i.imgur.com/TVlQhpj.jpg') )set(gca, 'OuterPosition', [.3 .42 .4 .4]);subplot(2,1,2)bar(1:10)set(gca, 'OuterPosition', [.3 0 .35 .23]);
Best Answer