如何在VMD上绘制多个pbc框?

时间:2019-02-18 10:52:46

标签: draw vmd

现在,我有: pbc盒-颜色黑色-宽度1 pbc集{4.541 4.541 6.463 69.5 69.5 90}

我该怎么做?

1 个答案:

答案 0 :(得分:0)

pbc box_draw允许这样做。示例:

# draw small box
pbc set {10 10 10}
set box0 [pbc box_draw -width 1 -color black]

# draw large box
pbc set {15 15 15}
set box1 [pbc box_draw -width 1 -color black]

如果以后需要删除一个框,可以这样做:

# delete all objects associated with the box
foreach i $box0 {
    graphics top delete $i
}