# # B-factor coloring example, HIV-1 protease and inhibitor (PDB:4hvp) # # see comments below about steps that are usually done interactively instead # windowsize 700 500 camera ortho open 4hvp # # publication preset includes white background and black silhouettes preset pub # # licorice preset makes ribbon into a licorice-like tube preset licorice show atoms delete solvent style ligand sphere color bfactor palette blue:red:yellow range 0,40 key true # # color key settings can be changed interactively in the Color Key tool # (menu: Tools... Depiction... Color Key) and its size/position adjusted # by click/drag according to the "Adjust key..." option in that tool # key pos 0.85,0.2 size 0.04,0.6 justification left labelOffset 5 # # 2D labels can be dragged interactively with "move label" mouse mode # instead of using the xpos and ypos settings in the command below # 2dlab text B-factor size 30 xpos .8 ypos .05 # # structure zoom/position is easier to set interactively with mouse/trackpad # than with commands such as the following # zoom .8 turn x 120 turn z 4 turn y -10 move x -5