I'm sure there's a way to actually draw a circle, but for your particular
use it might be better to use a sphere. If you're comfortable with python
scripting, you can use CGO objects. If not, you might do something like
this:

fetch 1hhp
create thing, resi 24 and name ca # create a new object from some single
atom selection
alter thing, vdw=10.0 # set desired radius
rebuild # necessary if spheres have already been shown
show spheres, thing
alter_state 1, thing, x,y,z = 50,60,10 # set desired x,y,z coords
set sphere_transparency, 0.5, thing # make it transparent
zoom
ray

you can also use something like select + within to select all residues
within a cutoff, but I got the impression you wanted a nice visualization.


Hope that helps,

-michael

On Mon, Jul 6, 2009 at 5:01 PM, Benjamin Michael Owen
<owe...@marshall.edu>wrote:

> Does anyone know how to draw a circle with a given radius in pymol? I have
> a distance that I want to use to see what residues lie on the end of that
> radius, but I have no idea how to write the command to draw the circle.
> Could someone help me please?
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>



-- 
Michael Lerner, Ph.D.
IRTA Postdoctoral Fellow
Laboratory of Computational Biology NIH/NHLBI
5635 Fishers Lane, Room T909, MSC 9314
Rockville, MD 20852 (UPS/FedEx/Reality)
Bethesda MD 20892-9314 (USPS)
------------------------------------------------------------------------------
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to