From: Zhimin Xiong (zhimin.xiong_at_gmail.com)
Date: Thu May 17 2007 - 09:41:48 CDT

Peter,

Thank you very much for your suggestion!

On 5/16/07, Peter Freddolino <petefred_at_ks.uiuc.edu> wrote:
>
> 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
>

-- 
Zhimin Xiong
State Key Lab. of Polymer Physics & Chemistry
Institute of Chemistry
Chinese Academy of Sciences