VMD-L Mailing List
From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Wed May 16 2007 - 07:34:31 CDT
- Next message: lnubiofox: "Re: namd-l: how to use measure hbonds to calculate occupancy of all hbonds in simulation?"
- Previous message: Zhimin Xiong: "How to add two parallel confinement wall"
- In reply to: Zhimin Xiong: "How to add two parallel confinement wall"
- Next in thread: Zhimin Xiong: "Re: How to add two parallel confinement wall"
- Reply: Zhimin Xiong: "Re: How to add two parallel confinement wall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
The best way to do this is draw each wall with two really big triangles;
you could do something like
set graphicsmol [mol new]
set z1 [expr -1 * $z0]
graphics $graphicsmol triangle {-1000 -1000 $z0} {-1000 1000 $z0} {1000
-1000 $z0}
graphics $graphicsmol triangle {1000 1000 $z0} {-1000 1000 $z0} {1000
-1000 $z0}
graphics $graphicsmol triangle {-1000 -1000 $z1} {-1000 1000 $z1} {1000
-1000 $z1}
graphics $graphicsmol triangle {1000 1000 $z1} {-1000 1000 $z1} {1000
-1000 $z1}
Have a look at the graphics and draw commands in the vmd manual for more
options.
Best,
Peter
Zhimin Xiong wrote:
> Hi all,
>
> I simulated a system that is confined in two parallel walls, saying
> two walls are placed at +z0 and -z0, so what I want to do is to add
> these two walls when viewing the system via VMD so as to guide the
> eyes. Any suggestion is appreciated.
>
> Best regards!
>
>
> --
> Zhimin Xiong
>
> State Key Lab. of Polymer Physics & Chemistry
> Institute of Chemistry
> Chinese Academy of Sciences
- Next message: lnubiofox: "Re: namd-l: how to use measure hbonds to calculate occupancy of all hbonds in simulation?"
- Previous message: Zhimin Xiong: "How to add two parallel confinement wall"
- In reply to: Zhimin Xiong: "How to add two parallel confinement wall"
- Next in thread: Zhimin Xiong: "Re: How to add two parallel confinement wall"
- Reply: Zhimin Xiong: "Re: How to add two parallel confinement wall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]