MATLAB: Multiline title not fitting in figure window

title

I'm having trouble getting a multiline title to fit into the figure window. For example how can I ensure that all of the lines of the following title are visible?
img=imread('cameraman.tif');
imshow(img)
title({'Line 1','Line 2','Line 3'})

Best Answer

Can you use image instead of imshow?
AxesH = axes('NextPlot', 'add', 'Visible', 'off');
title({'Line 1','Line 2','Line 3'}, 'Visible', 'on')
image(rand(100, 100, 3), 'Parent', AxesH);
axis(AxesH, 'image')