colors used to represent the values. (See also 'Details')
range
values out of the range will be modified to in the range.
breaks
a numeric vector of three or more cut points giving the number of intervals into which x is to be cut. See also 'Details'
showColorBar
Logical. Indicates display the colorbar or not. The default value is TURE.
Value
a matrix equal to x, but the values were instead by colors.
Details
A colorbar would also be ploted. The returned colors of the function can be used in function plot_profile.
if breaks not equal to NA, col must have the same length with breaks-1.