VMD-L Mailing List
From: Jérôme Hénin (jerome.henin_at_ibpc.fr)
Date: Mon Jan 21 2013 - 08:25:37 CST
- Next message: John Stone: "Re: Re: tachyon configuration failed"
- Previous message: Francesco Pietra: "Fwd: namd-l: About "add solvation""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi everyone,
Coloring representations by timestep in a short trajectory, I cannot see the full range of the color scale, so I suspect that the color range is calculated from 0 to <numFrames>, instead of 0 to <numFrames - 1>.
If I had to attempt a patch, I would suggest this:
AtomColor.C:370
change
float scalefac = (float)(MAPCLRS-1) / ((float) mol->numframes());
to:
float scalefac = (float)(MAPCLRS-1) / (float) (mol->numframes()-1);
But this is a shot in a relative dark.
Best,
Jerome
- Next message: John Stone: "Re: Re: tachyon configuration failed"
- Previous message: Francesco Pietra: "Fwd: namd-l: About "add solvation""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]