Home > RAVEN > setTitle.m

setTitle

PURPOSE ^

plotLabels

SYNOPSIS ^

function setTitle(handle, pathway, title)

DESCRIPTION ^

 plotLabels
   Prints a title on on a map drawn by drawPathway.

   handle      handle to the figure on which to print the labels
   pathway     pathway structure representing the pathway to be drawn
   title       the title

   Usage: setTitle(handle, pathway, title)

   Rasmus Agren, 2010-12-16

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function setTitle(handle, pathway, title)
0002 % plotLabels
0003 %   Prints a title on on a map drawn by drawPathway.
0004 %
0005 %   handle      handle to the figure on which to print the labels
0006 %   pathway     pathway structure representing the pathway to be drawn
0007 %   title       the title
0008 %
0009 %   Usage: setTitle(handle, pathway, title)
0010 %
0011 %   Rasmus Agren, 2010-12-16
0012 %
0013 
0014 dimension=getPathwayDimensions(pathway);
0015 
0016 handle=text(dimension(1)+0.5*dimension(3), -150,...
0017             title,'fontname','Small Fonts','fontsize',5,...
0018             'interpreter', 'tex','HorizontalAlignment','center','verticalalignment','middle');

Generated on Tue 23-Apr-2013 15:18:37 by m2html © 2005