Hi,
I want to visualize a temperature distribution in ElmerPost, in a way that
* areas below 99 °C
* areas between 99 and 101 °C
* areas above 101 °C
can be clearly distinguished. For example, I would imagine that the color red is reserved for the range between 99 and 101 °C. I have seen that I can edit the colormap, but I do not understand how I can assign a colormap range to a temperature range.
Thank you for a helpful hint,
Matthias
Assign colors to temperatures
Re: Assign colors to temperatures
Hi,
well there is a direct scaling of the variable values to colormap indices
index = (entries-1)*max(min((f-fmin)/(fmax-fmin),1),0)+1
(or something like that). The fmax & fmin values you can change form the
"Color Scale" panel (hit the "Keep" button first, then change values), by
default these are computed from the dataset.
BR, Juha
well there is a direct scaling of the variable values to colormap indices
index = (entries-1)*max(min((f-fmin)/(fmax-fmin),1),0)+1
(or something like that). The fmax & fmin values you can change form the
"Color Scale" panel (hit the "Keep" button first, then change values), by
default these are computed from the dataset.
BR, Juha