From: Zhencheng Ren (zr3_at_zips.uakron.edu)
Date: Fri Apr 04 2014 - 14:24:53 CDT

H:

I got a result from LAMMPS like this:

ITEM: TIMESTEP
1000
ITEM: NUMBER OF ATOMS
293400
ITEM: BOX BOUNDS pp pp ff
0 90.21
0 90.21
-20 2405.6
ITEM: ATOMS id type x y z c_user
5 1 0.126978 90.1634 12.1602 0.495222
6 1 0.247019 0.0145501 15.1715 0.745517
7 1 0.0587273 0.120458 18.254 0.421675
8 1 90.1723 0.112118 21.1262 5.97257
9 1 90.1932 0.138464 24.1344 5.79394

I want to color the atoms by c_user. How should I do in VMD?

If the c_user is not a float number but simply 1,2,3,4, how should I do?

Thank you!

Zhencheng