Currently in my VMD display, I define the Trajectory Smoothing Window Size in the dialog box as below.
Figure below is for protein
selection, the Trajectory Smoothing Window Size as 5.
How can I encode that to Tcl script?
The current Tcl script I have is this (vmd.tcl
):
display projection Orthographic
display rendermode GLSL
mol modselect 0 0 protein
mol modstyle 0 0 NewCartoon 0.300000 10.000000 4.100000 0
mol modcolor 0 0 Structure
mol addrep 0
mol modselect 1 0 resname PEP
mol modstyle 1 0 Licorice 0.300000 12.000000 12.000000
mol modcolor 1 0 Name
And I'd like to incorporate the Trajectory Smoothing Window Size into it,
for both protein
and resname PEP
.
Later I execute it as:
$ vmd md.gro md_noPBC.xtc -e vmd.tcl