annotate 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 |
|
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');
|