Rank: 339476 based on 0 downloads (last 30 days) and 0 file submitted
photo

Joshua

E-mail
Company/University
University of Central Florida

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Joshua
Updated File Comments Rating
09 Aug 2013 Perceptually improved colormaps 6 perceptual colormaps with rainbow-like colors and 1 with heat colors Author: Matteo Niccoli

Really cool function, never thought about the perceived visual gradients in data due to luminosity mismatch. There was one error in the code where the 'linearl' and 'linlhot' were missing their switch statements. Here is the corrected switch statement on line 295 to access those last two color profiles:

switch lower(scheme)
case 'isol'
baseMap = IsoL;
case 'cubicl'
baseMap = CubicL;
case 'edge'
baseMap = Edge;
case 'cubicyf'
baseMap = CubicYF;
case 'linearl'
baseMap = LinearL
case 'linlhot'
baseMap = LinLhot

otherwise
error(['Invalid scheme ' scheme])
end

Contact us