Skip to content

Commit

Permalink
can't remember why
Browse files Browse the repository at this point in the history
  • Loading branch information
wspr committed Mar 17, 2011
1 parent 968fc8a commit 6ad5cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion figuresize.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function figuresize( w , h , u )
p.addRequired('width', @(x) isnumeric(x) && all(size(x)==1) );
p.addRequired('height',@(x) isnumeric(x) && all(size(x)==1) );
p.addOptional('units','centimeters',...
@(x) any(strcmp(x,{'normalized','centimeters','inches','points'})) );
@(x) any(strcmpi(x,{'normalized','centimeters','inches','points'})) );

p.parse( w, h, u );
w = p.Results.width;
Expand Down

0 comments on commit 6ad5cd5

Please sign in to comment.