From: Alex G. <al...@eb...> - 2004-07-23 11:08:53
|
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...@eb... |