VMD-L Mailing List
From: jing xia (jingxia0817_at_gmail.com)
Date: Wed Nov 05 2014 - 19:53:16 CST
- Next message: John Stone: "Re: Rotate exchanges y and z axes?"
- Previous message: Miguel Caro: "Rotate exchanges y and z axes?"
- In reply to: Miguel Caro: "Rotate exchanges y and z axes?"
- Next in thread: John Stone: "Re: Rotate exchanges y and z axes?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
I use the following command to rotate the model in VMD 1.9.1:
set all [atomselect top all]
$all move [trans center { 0 0 1 } axis z 45 ].
"axis z" could be replaced by "axis y" or "axis x".
Hope it helps you out.
On 5 November 2014 18:53, Miguel Caro <miguel.caro_at_aalto.fi> wrote:
> Dear all,
>
> I am experiencing some strange behavior in VMD 1.9.1. The rotation
> operation around the y and z axes seems to be exchanged. That is,
>
> rotate z by 45
>
> rotates the scene by 45 degrees around the y axis. The opposite,
> exchanging y by z, is also true. Rotations around the x axis seem to work
> as expected.
>
> Is this a known bug or am I perhaps misinterpreting something?
>
> All the best,
> Miguel
> --
> *Dr. Miguel Caro*
> *Postdoctoral researcher*
> Department of Electrical Engineering and Automation,
> and COMP Centre of Excellence in Computational Nanoscience
> Aalto University, Finland
> Personal email: *mcaroba_at_gmail.com <mcaroba_at_gmail.com>*
> Work: *miguel.caro_at_aalto.fi <miguel.caro_at_aalto.fi>*
> Website: http://mcaroba.dyndns.org
>
-- Jing XIA PhD Student Department of Physics and Materials Science City University of Hong Kong
- Next message: John Stone: "Re: Rotate exchanges y and z axes?"
- Previous message: Miguel Caro: "Rotate exchanges y and z axes?"
- In reply to: Miguel Caro: "Rotate exchanges y and z axes?"
- Next in thread: John Stone: "Re: Rotate exchanges y and z axes?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]