Dear all,

I used the following script David pointed out:

from pymol.cgo import *
from pymol import cmd
 
w = 0.06 # cylinder width 
l = 0.75 # cylinder length
h = 0.25 # cone hight
d = w * 1.618 # cone base diameter
 
obj = [CYLINDER, 0.0, 0.0, 0.0,   l, 0.0, 0.0, w, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0,
       CYLINDER, 0.0, 0.0, 0.0, 0.0,   l, 0.0, w, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0,
       CYLINDER, 0.0, 0.0, 0.0, 0.0, 0.0,   l, w, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0,
       CONE,   l, 0.0, 0.0, h+l, 0.0, 0.0, d, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 
0.0, 1.0, 1.0, 
       CONE, 0.0,   l, 0.0, 0.0, h+l, 0.0, d, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 
0.0, 1.0, 1.0, 
       CONE, 0.0, 0.0,   l, 0.0, 0.0, h+l, d, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 
1.0, 1.0, 1.0]
 
cmd.load_cgo(obj, 'axes')


The axes appear, but the screen in pymol is now split into two sections with 
the cross covering one part. Is there a chance to move the cross closer to the 
model in one screen section?
A bit like shown in picture on page http://pymolwiki.org/index.php/Axes .

Kind regards
Gudrun 





Am 27.02.2012 um 12:01 schrieb David Hall:

> http://pymolwiki.org/index.php/Axes
> 
> -David
> 
> On Feb 27, 2012, at 5:38 AM, Gudrun Lotze <gudrun.lo...@gmx.net> wrote:
> 
>> Dear all,
>> 
>> is it possible to show in Pymol a little coordinate cross with axes x,y,z, 
>> for example like in VMD, please?
>> I have a protein made from dummy atoms and there is no unit cell.
>> I just want to show clearly which plane is shown when presenting the model 
>> in my document.
>> 
>> Thank you for your help.
>> Kind regards
>> Gudrun Lotze
>> 
>> 
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> 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

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
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