Mercurial > forge
changeset 11262:0f3d40c65d4a octave-forge
imhist: remove hold()'s from function. Not necessary and cause problems if there's already a figure
author | carandraug |
---|---|
date | Thu, 22 Nov 2012 23:13:14 +0000 |
parents | 3da1230d1959 |
children | 23cc50443349 |
files | main/image/inst/imhist.m |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main/image/inst/imhist.m Thu Nov 22 20:07:58 2012 +0000 +++ b/main/image/inst/imhist.m Thu Nov 22 23:13:14 2012 +0000 @@ -137,7 +137,6 @@ varargout{1} = nn; varargout{2} = bins; else - hold on; stem (bins, nn, "marker", "none"); xlim ([bins(1) bins(end)]); if (indexed) @@ -146,7 +145,6 @@ colormap (gray (b)); endif colorbar ("SouthOutside", "xticklabel", []); - hold off; endif endfunction