annotate util/DisplayFigureTitle.m @ 192:f1e601cc916d
danieleb
removed error check for wLength
author |
Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk> |
date |
Thu, 01 Mar 2012 16:57:51 +0000 |
parents |
8fc38e8df8c6 |
children |
|
rev |
line source |
daniele@184
|
1 function DisplayFigureTitle(title)
|
daniele@184
|
2
|
daniele@184
|
3 set(gcf,'Units','Normalized');
|
daniele@184
|
4 txh = annotation(gcf,'textbox',[0.4,0.95,0.2,0.05]);
|
daniele@184
|
5 set(txh,'String',title,'LineStyle','none','HorizontalAlignment','center');
|