Sphere scale: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
m (added Category Settings)
Line 5: Line 5:
==Syntax==
==Syntax==


<source lang="python">
# set the sphere scale to ''size''.
set sphere_scale, ''size''
set sphere_scale, ''size''
# print the current value for sphere_scale
get sphere_scale
</source>


''size'' can be any float 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.

Revision as of 01:47, 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

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