Subsections


pymol.cartoon

Image pymol_icon

Synopsis

Apply the PyMOL cartoon style and colour by secondary structure.

Defaults

pymol.cartoon()

Description

This applies the PyMOL cartoon style which is equivalent to hiding everything and clicking on show cartoon. It also colours the cartoon with red helices, yellow strands, and green loops. The following commands are executed:

cmd.hide(`everything', file)
cmd.show(`cartoon', file)
util.cbss(file, `red', `yellow', `green')

where file is the file name without the `.pdb' extension.

Prompt examples

To apply this user function, type:

[numbers=none]
relax> pymol.cartoon()




The relax user manual (PDF), created 2016-10-28.