# imLabel

## PURPOSE

Improved method for labeling figure axes.

## SYNOPSIS

function imLabel( labels, position, S, pvPairs )

## DESCRIPTION

     Improved method for labeling figure axes.

     USAGE
      imLabel( labels, position, [S], [pvPairs] )

     INPUTS
      labels          - cell array of strings, labels for display
      position        - 'left', 'right', 'bottom', or 'top'
      S               - [] rotation for top and bottom labels in [-90,90]
      pvPairs         - [] parameter / value list for text

     OUTPUTS

     EXAMPLE
      load( 'images.mat' ); clf; cla; montage2( images(:,:,1:9) );
      imLabel( {'row1','row2','row3'}, 'left',[],{'FontSize',20} );
      imLabel( {'col1','col2','col3'}, 'bottom', -25, {'FontSize',20} );

     See also MONTAGE2, TEXT2, TEXT

     Piotr's Image&Video Toolbox      Version 2.0
     Copyright 2008 Piotr Dollar.  [pdollar-at-caltech.edu]
     Please email me if you find bugs, or have suggestions or questions!
     Licensed under the Lesser GPL [see external/lgpl.txt]

## CROSS-REFERENCE INFORMATION

This function calls:

- text2 Wrapper for text.m that ensures displayed text fits in figure.

This function is called by:

- confMatrixShow Used to display a confusion matrix.