I end up having to Google search the commands the relevant commands every time I need to make publication-quality figures in Pymol, so I’m just going to note them here to save myself some time.
- set bg_rgb, white
This sets the background to white. Usually safe bet for any image meant for a normal presentation (ie. slides with white backgrounds), or a publication (where it’s text and images against a white page). - set ray_trace_mode, 1
This allows it to have the “black outline” representations, which I think look a little nicer than the default. - ray [Some number, usually between 900 and 1500]
This makes a static fully-rendered image that is much higher quality than the fast render in the interactive interface.
See above for an example of what a resulting image looks like.