view util/DisplayFigureTitle.m @ 224:fd0b5d36f6ad danieleb

Updated the contents of this branch with the contents of the default branch.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 12 Apr 2012 13:52:28 +0100
parents 8fc38e8df8c6
children
line wrap: on
line source
function DisplayFigureTitle(title)

set(gcf,'Units','Normalized');
txh = annotation(gcf,'textbox',[0.4,0.95,0.2,0.05]);
set(txh,'String',title,'LineStyle','none','HorizontalAlignment','center');