No BSD License  

Highlights from
interactive colorbar

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

interactive colorbar


John Franklin (view profile)


21 Aug 2006 (Updated )

creates a colorbar which allows manual adjustment of color palette

| Watch this File

File Information

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

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

zohar (view profile)

Same error like Jiminy

04 Oct 2012 Jiminy

Jiminy (view profile)

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

??? Error while evaluating axes ButtonDownFcn

04 Apr 2007 David Abraham

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

Comment only
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.


26 Aug 2006 Bob Jenkins

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

Contact us