No BSD License  

Highlights from
interactive colorbar

3.66667

3.7 | 6 ratings Rate this file 6 Downloads (last 30 days) File Size: 10.9 KB File ID: #12020
image thumbnail

interactive colorbar

by

 

21 Aug 2006 (Updated )

creates a colorbar which allows manual adjustment of color palette

| Watch this File

File Information
Description

adjustableColorbar
creates an interactive colorbar Click, hold, then drag the upper or lower limit of the colorbar to adjust the data range to which the color palette
is applied. A condensed palette can then be 'moved' all at once by clicking/holding/dragging the middle portion of the palette.

 call with axes handle argument

% example
%
% data = randn(100,100);
% imagesc(data)
% adjustableColorbar(gca)
%
% John Franklin 2006
% john.franklin@gmail.com

MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
11 Apr 2013 zohar

Same error like Jiminy

04 Oct 2012 Jiminy

Great idea, and I really would love to use it, but with R2011a on ubuntu 12, I get the following error when I try to click and drag on the colorbar:

??? Error using ==> set
Invalid handle object.

Error in ==> adjustableColorbar at 195
set(imageHandle,'CData',[bottomPad;palette;topPad])

??? Error while evaluating axes ButtonDownFcn

04 Apr 2007 David Abraham

Seems to be broken for R2007a - the scroll function no longer works.

27 Sep 2006 Roberto Venegas

Nice job. Thanks a lot.

15 Sep 2006 David Abraham

I have been hacking around doing this the hard way(s) for a while. Thanks for an excellent, simple implementation! Perfect!

30 Aug 2006 Lazerus H.

FABULOUS CREATION. XTREMLY USEFUL AND USER FRIENDLY. LOVE IT.

26 Aug 2006 Bob Jenkins

This is an excellent tool! I saved so much time, thanks John!

Contact us