FEAP User Forum
FEAP => General questions => Topic started by: aortizb on January 12, 2024, 09:32:22 AM
-
Can the FEAP's colormap be changed?
Can the number of colors in FEAP's colorbar be changed? The default is twelve colors. Can this number be increased or even make it "infinite" so that to have a continuous contour plot?
Best,
Alejandro.
-
FEAP always plots a discrete number of colors so that the boundaries between colors have precise meaning. You can edit the code to have more colors; edit [unix/windows]/pppcol.f then unix/x11u.c or windows/pltdos.f, etc. This is a quite invasive process. I would suggest using the paraview output command PVIE. You can then open the data in paraview and will have easy, quick, access to infinite shading options.
-
Ok, I understand. How about the colormap? In a FEAP pv version I have, the colormap is going from white to red, but in FEAP 8.6 it is from red to purple. Is this something that can be easily customized, or do I also need to edit the source code?
-
The map can be edited but only in the source code unix/x11u.c for linux based machines and windows/pltdos.f for windows.