From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Wed May 16 2007 - 07:34:31 CDT

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