diff --git a/README.md b/README.md index e083f50..265eb0a 100644 --- a/README.md +++ b/README.md @@ -175,6 +175,29 @@ animator.save_frames('frame1', 'frame2') 选择小分子: select 8g2c_tyk, resn TYK ``` +### 背景美化 + +```shell +# 1. 设置背景为白色,并将表面透明度设置为 40% +bg_color white # 设置背景颜色为白色 +set surface_transparency, 0.4 # 设置所有表面透明度为 40% + +# 2. 使表面显示使用原子自身的颜色 +set surface_color_by_atom, 1 # 启用表面按原子颜色显示 + +# 3. 蛋白质:着色为橙色,并显示表面 +color orange, polymer.protein # 将所有蛋白质(polymer.protein)着色为橙色 +show surface, polymer.protein # 显示蛋白质的表面 + +# 4. 核酸:着色为白色,并显示表面 +color white, polymer.nucleic # 将所有核酸(polymer.nucleic)着色为白色 +show surface, polymer.nucleic # 显示核酸的表面 + +# 5. 小分子:根据分子的 ligand id(这里假设用 organic 选择小分子)着色为红色,并显示表面 +color red, organic # 将所有小分子(organic)着色为红色 +show surface, organic # 显示小分子的表面 +``` + ## Schrodinger_Suites linux install ```shell