FEAP User Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
FEAP Version 8.6.1n released: February 14, 2022
Home
Help
Search
FEAPwiki
Login
Register
FEAP User Forum
»
FEAP
»
General questions
»
Customization of colormap and colorbar
« previous
next »
Print
Pages: [
1
]
Author
Topic: Customization of colormap and colorbar (Read 7002 times)
aortizb
New Member
Posts: 7
Customization of colormap and colorbar
«
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.
Logged
---
Alejandro Ortiz-Bernardin
Prof. S. Govindjee
Administrator
FEAP Guru
Posts: 1160
Re: Customization of colormap and colorbar
«
Reply #1 on:
January 12, 2024, 10:15:01 AM »
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.
Logged
aortizb
New Member
Posts: 7
Re: Customization of colormap and colorbar
«
Reply #2 on:
January 12, 2024, 01:19:23 PM »
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?
Logged
---
Alejandro Ortiz-Bernardin
Prof. S. Govindjee
Administrator
FEAP Guru
Posts: 1160
Re: Customization of colormap and colorbar
«
Reply #3 on:
January 12, 2024, 02:43:00 PM »
The map can be edited but only in the source code unix/x11u.c for linux based machines and windows/pltdos.f for windows.
Logged
Print
Pages: [
1
]
« previous
next »
FEAP User Forum
»
FEAP
»
General questions
»
Customization of colormap and colorbar