view util/DisplayFigureTitle.m @ 188:2f5ce7c8792a danieleb

removed check for wLength as not necessary.
author daniele@danieleb.com
date Wed, 15 Feb 2012 11:02:45 +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');