From: Kannan Ridings (
Date: Tue Jun 23 2015 - 01:12:31 CDT

Hi there,

I'm a student trying to get VMD to colour atoms in a nanowire I've
simulated according to what their q4 or q6 value is.

Say that for some number S, if q6 > S -> gold coloured atom
And that if q6 < S -> silver coloured atom

I can get VMD to read an xyz file with all the coordinates of the atoms and
the q4 q6 values too, but I'm not sure how to get started with this.

Any tips or advice would be great.