Difference between revisions of "Line width"

From PyMOLWiki
Jump to navigation Jump to search
(Created page with '= Overview = Controls the width that PyMOL draws lines. = Sytnax = <source lang="python"> # set line width set line_width, value # set line_width to value for object or selecti...')
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
= Overview =
 
= Overview =
 
Controls the width that PyMOL draws lines.
 
Controls the width that PyMOL draws lines.
 
+
<center>
 +
<gallery heights="300px" widths="350px">
 +
Image:lw1.png|Line width set to default
 +
Image:lw2.png|Line width set to 10 on residues 1-10 and then colored those residues red.
 +
</gallery>
 +
</center>
 
= Sytnax =
 
= Sytnax =
 
<source lang="python">
 
<source lang="python">
Line 13: Line 18:
 
load $TUT/1hpv.pdb
 
load $TUT/1hpv.pdb
 
as lines
 
as lines
remove het
 
 
set line_width, 10
 
set line_width, 10
  
Line 23: Line 27:
 
* [[Set]]
 
* [[Set]]
 
* [[Set_bond]]
 
* [[Set_bond]]
 +
 +
[[Category:Settings]]

Latest revision as of 16:17, 6 July 2009

Overview

Controls the width that PyMOL draws lines.

Sytnax

# set line width
set line_width, value

# set line_width to value for object or selection, objSel
set_bond line_width, value, objSel

# Example
load $TUT/1hpv.pdb
as lines
set line_width, 10

# or on a bond-by-bond basis,
set_bond line_width, 7, i. 20-30

See Also