Home > timeplt > stacklbl.m

stacklbl

PURPOSE ^

STACKLBL Label stack plot axes with title and y-axis label.

SYNOPSIS ^

function stacklbl(axhandle,titl,ylab,x,y);

DESCRIPTION ^

 STACKLBL Label stack plot axes with title and y-axis label.

   STACKLBL(axhandle,titl,ylab,[x,y]);
   labels the yaxis and titles a stack plot panel
   created by timeplt.m 
        axhandle= the handle of the axes you wish to label
        titl = string for title
        ylab = string for ylabel
        x,y = location of title in normalized coordinates (0.05,.85) by default

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function stacklbl(axhandle,titl,ylab,x,y);
0002 % STACKLBL Label stack plot axes with title and y-axis label.
0003 %
0004 %   STACKLBL(axhandle,titl,ylab,[x,y]);
0005 %   labels the yaxis and titles a stack plot panel
0006 %   created by timeplt.m
0007 %        axhandle= the handle of the axes you wish to label
0008 %        titl = string for title
0009 %        ylab = string for ylabel
0010 %        x,y = location of title in normalized coordinates (0.05,.85) by default
0011 if(~exist('x'))
0012  x=.05;
0013 end
0014 if(~exist('y'))
0015  y=.85;
0016 end
0017 axes(axhandle);...
0018 ylabel(ylab);...
0019 text(x,y,titl,'units','norm','color','white');

Generated on Wed 30-Nov-2005 15:41:21 by m2html © 2003