My software notes

November 15, 2011

[PyMOL] gradient background color

Filed under: pymol/ molmol — kpwu @ 12:03 pm
Tags: ,

Starting at  PyMOL 1.4,  single color for the background is no longer the only choice. By using 3 PyMOL commands, the gradient background color can be easily shown. The only thing users have to know is that command “ray” doesn’t support this gradient color yet. So if you type “ray” in the pymol terminal , the gradient color will show off.

Here is what I did (use PyMOL 1.4) at get the following picture:

set bg_rgb_top, [0,255,0]
set bg_rgb_bottom, [0,255,255]
set bg_gradient, on
png gradient_bg.png 

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: