$ global name=fitting2
$ scene1 visualization=../TransAtlas.vmd

# scene1

! if needed, the main axis of a given selection
! can be aligned to a chosen axis, and 'invert=t'
! can be used to choose the opposite orientation

animate         frames=0
highlight       selection='resid 15 to 31' style=newcartoon color=red mode=u t=1s alias=helix
fit_trajectory  selection='resid 15 to 31' axis=z t=2s
fit_trajectory  selection='resid 15 to 31' axis=x t=2s
fit_trajectory  selection='resid 15 to 31' axis=y t=2s
highlight       mode=d t=1s alias=helix
