imagesc2( varargin )

Version (3.2 KB) by Chen Qi
Enhanced imagesc function with key control of color limit


Updated Thu, 13 Aug 2015 17:01:35 +0000

View License

% enhanced imagesc function with key control for colormap limit
% Parameters are given as you give to imagesc built-in function
% When plotted, you could use following keys to control your color limit
% 1. left arrow <-- and right arrow --> are for decreasing and increasing color
% limit range
% 2. upper arrow and down arrow are for increasing and decreasing upper limit
% of color
% 3. pageup and page down keys are for increasing and decreasing lower limit of
% color
% 4. key s is for set color limit manually
% 5. key r is for reset color limit to the default ([max(data),min(data)])
% 6. key f is for set changing factor every time you change you color limit
% Note: f could be a complex number and real part stand for multiplication
% and imaginary part stand for addition.

Cite As

Chen Qi (2023). imagesc2( varargin ) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Images in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Change the way it works.