Code covered by the BSD License  

Highlights from
DRAGZOOM - Drag and zoom tool

image thumbnail

DRAGZOOM - Drag and zoom tool

by

 

04 Nov 2010 (Updated )

DRAGZOOM allows you to handy interactively manage the axes in figure.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

test_rect_hor_img
function test_rect_hor_img
%TEST_RECT_HOR_IMG Test Hor Rectangular Image with DRAGZOOM

im = imread('board.tif');

imh(:,:,1) = im(:,:,1)';
imh(:,:,2) = im(:,:,2)';
imh(:,:,3) = im(:,:,3)';

figure;
imshow(imh, 'InitialMagnification', 'fit');
% imagesc(imh);

dragzoom();

Contact us