Multiwfn forum

Multiwfn official website: //www.umsyar.com/multiwfn. Multiwfn forum in Chinese: http://bbs.keinsci.com/wfn

You are not logged in.

#12025-09-14 09:08:24

greenhand
Member
Registered: 2025-09-14
Posts: 1

Help: how to define a color scale transition method?

Dear Prof Lu:
I want to select color scale transition method for displaying the electron density.
In Multiwfn 3.8 software, the color transition method is following:
0 Rainbow with black/white for values exceeding lower/higher color limit
1 Rainbow
2 Reversed rainbow
3 Rainbow starting from white
4 Spectrum (Pink-Blue-Green-Red)
5 Reversed Spectrum
6 Grey (Black-White)
7 Reversed Grey
8 Blue-White-Red
9 Red-White-Blue
10 Blue-Green-Red
11 Red-Green-Blue
12 White-Darkred
13 Black-Orange-Yellow
14 White-Dark green
15 Black-Green
16 White-Dark Blue
17 Black-Blue-Cyan
18 Viridis
19 Yelllow-Orange-Black

I want to know how to define a color scale transition method like "individual color A -white-individual color B", for examples, Blue-white-Green, Green-white-Orange, grey-white-iceblue, ...
Is there a keyword used to define a color scale transition method in the file of "settings.ini"?

Thanks in advance!

Offline

#22025-09-14 09:41:46

sobereva
Tian Lu (Multiwfn developer)
From: Athens, Greece
Registered: 2017-09-11
Posts: 2,177
Website

Re: Help: how to define a color scale transition method?

Hello,

The color transition methods are hard-coded, you cannot change it without modifying source code. Please look at plot.f90 in source code package, in which "subroutine setcolortable" contains the code for defining the coloring transitions.

Offline

Board footer

Baidu
map