Maps color to (resistivity) values. A minimum and maximum value can be specified.
myColorRamp(col, values, minData = min(values), maxData = max(values))
Character vector of colors.
Numeric vector of values.
Minimum value (default min(values)). All smaller values will assigned to the first color in vector col.
Maximum value (default max(values)). All higher values will assigned to the last color in vector col.