Legend Box In Pymol
1
2
Entering edit mode
13.5 years ago
Flow ★ 1.6k

I would like to add an opaque text box with a legend in pymol, but found no relevant info about, any help would be appreciated

pymol • 8.0k views
ADD COMMENT
1
Entering edit mode

Can't you export a PNG picture first, and add the text box afterward in a general 2D drawing software?

ADD REPLY
1
Entering edit mode
13.5 years ago
Jan Kosinski ★ 1.6k

You can use python scripting functionality in PyMol to draw anything you want with pymol.cgo module.

Here is an example how to write text: http://www.pymolwiki.org/index.php/CGO_Text

If you search the PyMol wiki for CGO you will find many more examples, which most likely include all elements required to draw opaque rectangular shape for a frame of your text box.

ADD COMMENT

Login before adding your answer.

Traffic: 2823 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6