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)
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 dimension=getPathwayDimensions(pathway); 0012 0013 handle=text(dimension(1)+0.5*dimension(3), -150,... 0014 title,'fontname','Small Fonts','fontsize',5,... 0015 'interpreter', 'tex','HorizontalAlignment','center','verticalalignment','middle'); 0016 end