[PyMOL] draw vector

2010-07-22 Thread Bradley Hintze
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

Re: [PyMOL] draw vector

2010-07-22 Thread Jason Vertrees
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

Re: [PyMOL] draw vector

2010-07-22 Thread Bradley Hintze
I have measurements in my figure so set dash_gap, 0 is not desirable (unless i can specify a particular object??) I tried looking at CGO but all I can find on the wiki is how to draw text and circles. Is there a page I'm not seeing that explaining cmd.load_cgo in detail?? On Thu, Jul 22, 2010 at

[PyMOL] New script: spectrumany

2010-07-22 Thread Thomas Holder
Hi pymol users, there is a new script on the wiki that does arbitrary gradient coloring, it's called spectrumany. http://pymolwiki.org/index.php/Spectrumany Cheers, Thomas -- This SF.net email is sponsored by Sprint