VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Jan 24 2007 - 12:19:36 CST
- Next message: Akshay Patny: "RE: measure XYZ dimensions of a system"
- Previous message: Axel Kohlmeyer: "Re: measure XYZ dimensions of a system"
- In reply to: Vivek Sharma: "vector"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
You can do things like this with:
set vec [list $x $y $z]
or
set vec "$x $y $z"
etc..
John
On Wed, Jan 24, 2007 at 12:14:28PM +0200, Vivek Sharma wrote:
> Hi everyone,
>
> A little problem, actually, I am trying to define vectors (at arbitrary
> points) in space in VMD. Like,
>
> set temp_vector {1 2 3}, now in place of 1,2,3 i.e. x,y and z, I would like
> to put some variables, which are defined and are taking value from
> somewhere, specifically to say, set temp_vector {$a $b $c},can something of
> that kind be done in VMD? I couldnt make it work it like that atleast.
> Please reply if you have any ideas, once again to say, I have to define many
> arbitrary vectors in space, without a pdb i.e. no lindex, etc.
>
> br,
> Vivek
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Akshay Patny: "RE: measure XYZ dimensions of a system"
- Previous message: Axel Kohlmeyer: "Re: measure XYZ dimensions of a system"
- In reply to: Vivek Sharma: "vector"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]