From: Vermaas, Joshua (Joshua.Vermaas_at_nrel.gov)
Date: Fri Jan 12 2018 - 13:10:25 CST

Hi Roshan,

The color map appears to involve some custom greyscaling code, based on the source of the plugin (plugins/contactmap/contactmap.tcl). If you overrode this (by editing contactmap.tcl, or sourcing a new one), it would do what you want. However, the most expedient way of getting a color image would be to use a colormap to colorize the greyscale image once it is produced. See for instance https://www.learnopencv.com/applycolormap-for-pseudocoloring-in-opencv-c-python/, which uses a computer vision library to recolor a greyscale image in three lines of code (you need to add a fourth to write an output file).

-Josh

On 01/12/2018 11:49 AM, Roshan Shrestha wrote:
Dear all,
            Is there anyway we can get contact map from contact map plugin in VMD in Rainbow (RGB) scale rather than in Black and White color scale by default.
Thanks

--
Roshan Shrestha
M.Sc (Physics)
Central Department of Physics, Tribhuvan University
Kathmandu, Nepal