On Sat, 17 Aug 2002, Bartholomeus Kuettner wrote: > Hello there! > > I followed mailing list instructions to create cgo based labels via a python > script. Unfortunately, the labels are not in plane but more like > perpendicular. So is there a way to alter the orientation of such cgo > labels. I think one could apply pymol's "set_view" matrix to the labels to > get them in plane. Wrong idea? Anyway, how one can rotate the cgo labels > without rotating the remaining molecule?
That's the right idea... cmd.get_view() will give you a matrix which you should be able to transform in order to get a coordinate system "in the vertical" on the screen. Now what would be great is if PyMOL would do this for you... Warren