[PyMOL] Font size with cyl_text

2004-07-23 Thread Alex Gutteridge

Hi,

I'm trying to add some labels to a diagram using the cyl_text method, 
but I can't find any way to change the font size. In the only example 
I've found:


# draw text using cgo
from pymol import cmd
from pymol.cgo import *
from pymol.vfont import plain

cgo = []
axes = [[2.0,0.0,0.0],[0.0,2.0,0.0],[0.0,0.0,2.0]]
pos = [0.0,-3.0,0.0]
cyl_text(cgo,plain,pos,'Hello Universe',0.10,axes=axes)
cmd.load_cgo(cgo,'txt')
cmd.zoom(all,2.0)

Changing the '0.10' parameter only alters the thickness of the text, 
not the font size. Is there a way of altering font size here?


Alex Gutteridge
European Bioinformatics Institute
Cambridge CB10 1SD
UK

Tel: 01223 492550
Email: al...@ebi.ac.uk




Re: [PyMOL] Cavity display?

2004-07-23 Thread Lieven Buts
On Friday 23 July 2004 13:41, Dirk Kostrewa wrote:
 I wanted to have a program that can easily calculate cavities in proteins
 to be displayed with pymol (see e-mails below for details).
 Thanks to Gareth and Lari I've got two pointers to such programs:
 I've tried PASS, recommended by Lari and got a surface picture of my
 cavities within literally a few minutes, as Lari already wrote.

The rTools (http://www.rubor.de/bioinf/pymol_rubor.html) also contain a 
fucntion to interface PASS with PyMOL.

-- 
Lieven Buts
Department of Ultrastructure
Vrije Universiteit Brussel



[PyMOL] color individual residues on a surface?

2004-07-23 Thread Michael Bovee

Hi PyMOL'ers

I'm trying to figure out how to do something that looks like the 
following figure:

http://www.uvm.edu/~mbovee/structures/surface.png

It seems any individual residues I color always map onto the cartoon 
ribbon representation rather than onto the surface representation.  Is 
this currently possible in PyMOL to do what is pictured in the link 
above?


Thanks,
--Michael Bovee, Ph.D.
Dept. of Biochemistry
University of Vermont