reverse-shooting

Matlab scripts for reverse shooting
Log | Files | Refs | README

y2label.m (344B)


      1 function y2label(hy2l,string)
      2 %Y2LABEL Y-axis label for second y-axis created using PLOTYY
      3 %        YLABEL(handle,'text') adds text beside the Y-axis on the current axis.
      4 %
      5 %       See also PLOTYY
      6 
      7 %       Written by Samson H. Lee (shl0@lehigh.edu)
      8 
      9 if nargin~=2,
     10   error('Y2LABEL requires 2 input arguments.');
     11 end;
     12 set(hy2l,'String',string);