[PyMOL] labels

2004-04-05 Thread Mads Gabrielsen
I have just installed the new release of PyMol and was particularly pleased that labels can now be rendered. Then it occured to me that I actually don't know how to label a residue Tyr84 (or whatever) and have the label positioned next to the residue. Any hints would be appreciated. Also, am

[PyMOL] [Fwd: labels]

2004-04-05 Thread Mads Gabrielsen
OK, I think I might have figured the label thing out. What I don't get is how to change color/font/size etc of the label, and if there is command corresponding to LABELOFFSET in Molscript. Cheers, Mads Gabrielsen Original Message Subject:labels Date: Mon, 05 Apr

RE: [PyMOL] [Fwd: labels]

2004-04-05 Thread Warren DeLano
Mado, PyMOL's current labeling is inflexible. The only way to change position automatically is to insert spaces at the front of the label: label (name ca), %s-%s%(resn,resi) The font selections are limited: normal: set label_font_id, 0 bigger: set label_font_id, 1 smaller: set

RE: [PyMOL] ray command

2004-04-05 Thread David A. Horita
Hi, Regarding the use of the ray command, is there a way to automatically set either the x or y value to maintain the same aspect ratio as displayed in the window? For that matter, how do you determine the number of x and y points displayed (other than making a bitmap and loading that into

RE: [PyMOL] ray command

2004-04-05 Thread Warren DeLano
David, There isn't currently a programmatic way of doing this, but it wouldn't be too hard to make one. I'll put onto the todo list support for commands like: ray 1024; ray width=800; height=600; where the second axis is calculated. Note that we're currently missing an API function for getting

Re: [PyMOL] PyMOL 0.95 Released

2004-04-05 Thread Cameron Mura
Hi PyMOLers, I just downloaded and tried-out the new v0.95 -- very nice! (particularly the label-handling)... Now I'm wondering -- has anyone seen the following OpenGL errors with this new version: OpenGL-Error: Where? During Rendering: invalid operation This occurs when literally *any*

[PyMOL] problem in installation

2004-04-05 Thread Tom Lee
I have trouble installing PyMOL using pymol-0_95-bin-win32-py23.zip. Here is the message I got. The installer is unable to locate Python. Python must be installed before PyMOL. Do you wish to abort? I have Python2.3.2 installed, and there was no problem installing pymol_0.93 with this version

[PyMOL] RE: colors and states

2004-04-05 Thread Warren DeLano
Tony, This isn't possible with normal objects, but it is with discrete ones. Normal states are efficient because they only have coordinate information, not atomic properties such as color. With discrete objects, each state has its own atom information. Assuming that you're using version 0.95