Skip to content

Commit

Permalink
git-svn-id: svn+ssh://lumo.ucsd.edu/projects/p1/svnroot/pdollar/toolb…
Browse files Browse the repository at this point in the history
…ox@5994 52fe0c90-79fe-0310-8a18-a0b98ad248f8
  • Loading branch information
pdollar committed Jul 7, 2007
1 parent c33b6d0 commit 715d188
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 109 deletions.
4 changes: 2 additions & 2 deletions classify/confMatrixShow.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ function confMatrixShow( CM, types, pvPairs, nDigits )

%%% now add type labels
if( ~isempty(types) )
imlabel( types, 'left', 0, pvPairs );
imlabel( types, 'bottom', -35, pvPairs );
imLabel( types, 'left', 0, pvPairs );
imLabel( types, 'bottom', -35, pvPairs );
end
2 changes: 1 addition & 1 deletion matlab/Contents.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
% cc - close all, clc
% ccc - clear, close all, clc, clear global
% figureResized - Creates a figures that takes up certain area of screen.
% imlabel - Improved method for labeling figure axes.
% imLabel - Improved method for labeling figure axes.
% plotEllipse - Adds an ellipse to the current plot.
% plotGaussEllipses - Plots 2D ellipses derived from 2D Gaussians specified by mus & Cs.
% text2 - Wrapper for text.m that ensures displayed text fits in figure.
Expand Down
10 changes: 5 additions & 5 deletions matlab/imlabel.m → matlab/imLabel.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% Improved method for labeling figure axes.
%
% USAGE
% imlabel( labels, position, [S], [pvPairs] )
% imLabel( labels, position, [S], [pvPairs] )
%
% INPUTS
% labels - cell array of strings, labels for display
Expand All @@ -13,16 +13,16 @@
%
% EXAMPLE
% load( 'images.mat' ); clf; cla; montage2( images(:,:,1:9), 1 );
% imlabel( {'row1','row2','row3'}, 'left',[],{'FontSize',20} );
% imlabel( {'col1','col2','col3'}, 'bottom', -25, {'FontSize',20} );
% 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 1.5
% Piotr's Image&Video Toolbox Version NEW
% Written and maintained by Piotr Dollar pdollar-at-cs.ucsd.edu
% Please email me if you find bugs, or have suggestions or questions!

function imlabel( labels, position, S, pvPairs )
function imLabel( labels, position, S, pvPairs )

if( nargin<3 || isempty(S) ); S=0; end
if( nargin<4 || isempty(pvPairs) ); pvPairs={}; end
Expand Down
101 changes: 0 additions & 101 deletions matlab/imlabel1.m

This file was deleted.

0 comments on commit 715d188

Please sign in to comment.