|
From: Jason V. <jas...@sc...> - 2010-07-22 16:23:04
|
Bradley, The fastest way is to create two pseudoatoms and measure the distance between them. For an arrow, see Modevectors (http://www.pymolwiki.org/index.php/Modevectors). pseudoatom pt1, pos=[x1, y1, z1] pseudoatom pt2, pos=[x2, y2, z2] distance /pt1, /pt2 set dash_gap, 0 You can also create CGO lines between two points, if you want. Cheers, -- Jason On Thu, Jul 22, 2010 at 11:58 AM, Bradley Hintze <bra...@ag...> wrote: > Hi all, > > Can I draw a vector if I give two XYZ coords in pymol? > > e.g. > draw_vector(x1, y1, z1, x2, y2, z2) > > Thanks, > Bradley > > -- > Bradley J. Hintze > Graduate Student > Duke University > School of Medicine > 801-712-8799 > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > -- Jason Vertrees, PhD PyMOL Product Manager Schrodinger, LLC (e) Jas...@sc... (o) +1 (603) 374-7120 |