From: Tsjerk W. <ts...@gm...> - 2010-09-11 06:02:17
|
Hi Jay, Do you mean you want to draw a sphere at some specific point? Or is there more to it? A sphere could be drawn in two ways. You could use CGOs for that: from pymol.cgo import * cmd.load_cgo([SPHERE,x,y,z,r,R,G,B],"sphere"]) substituting x, y, and z for the coordinates of the center, r for the radius, and R, G, and B for the color. Alternatively you can use 'pseudoatom', which gives more flexibility in changing color and radius dynamically: pseudoatom sphere, pos=(x,y,z), color=wheat, vdw=r Hope it helps, Tsjerk 2010/9/9 SongJianHui <gi...@ho...>: > Hi all, > > I am using pymol to monitor the structure evolution of one protein which > could be bound to some fixed points on a spherical surface. However, I have > no idea about how to incorporate these active points in pymol. Any > suggestion is welcome. Thanks in advance. > > Cheers, > Jay > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > -- Tsjerk A. Wassenaar, Ph.D. post-doctoral researcher Molecular Dynamics Group Groningen Institute for Biomolecular Research and Biotechnology / University of Groningen The Netherlands |