Sphere scale: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
Line 4: Line 4:


==Syntax==
==Syntax==
<source lang="python">
<source lang="python">
# set the sphere scale to ''size''.
# set the sphere scale to ''size''.
Line 11: Line 10:
get sphere_scale
get sphere_scale
</source>
</source>
where, ''size'' can be any floating point number. Using 0.25 gives a nice balls&sticks representation with both lines and spheres turned on.


''size'' can be any floating point number. Using 0.25 gives a nice balls&sticks representation with both lines and spheres turned on.
'''set sphere_scale''' by itself will revert to default.
 
set sphere_scale by itself will revert to default.


==Related settings==
==Related settings==

Revision as of 01:48, 23 February 2007

Overview

This setting affects the apparent radius of spheres in the sphere representation. Default scale is set to 1.0.

Syntax

# set the sphere scale to ''size''.
set sphere_scale, ''size''
# print the current value for sphere_scale
get sphere_scale

where, size can be any floating point number. Using 0.25 gives a nice balls&sticks representation with both lines and spheres turned on.

set sphere_scale by itself will revert to default.

Related settings