Path: Thermal/ThermalAnalysis
% Generates a color corresponding to a temperature. colorMap is optional. Type ThermalColorMap for a demo. -------------------------------------------------------------------------- Form: rGB = ThermalColorMap( temp, tempMax, colorMap ) -------------------------------------------------------------------------- ------ Inputs ------ temp (1,n) Temperatures tempMax (1,1) Maximum temperature colorMap (:,3) Color colorMap. Each row is [r b g] ------- Outputs ------- rGB (n,3) Colors representing the temperature. --------------------------------------------------------------------------
Common: Graphics/NewFig
Back to the Thermal Module page