Home > Pymol > camera
This section explains how to adjust the camera's direction (viewpoint) using commands. By combining images rotated by 90 degrees, a projection view can be created.
turn
Use turn to change the camera orientation.
turn axis, angle
axis : x or y or z
・x : horizontal (left and right) screen
・y : vertical (up and down) screen
・z : depth
angle : 0~360
for example
turn y, 90
This will rotate the image 90 degrees along the y-axis. In other words , it will be viewed from the left.
turn x, 90
This will rotate the image 90 degrees along the x-axis, so that it is viewed from top.
Projection drawing script
Here is a script to quickly create views from each direction.
Download it and run it from "File → Run" to create views from top, bottom, left, right, front, and back
surround.pml
ray
png front.png
turn y, 90
ray
png left.png
turn y, 90
ray
png back.png
turn y, 90
ray
png right.png
turn y, 90
turn x, 90
ray
png up.png
turn x, 180
ray
png down.png
turn x, 90
Please refer to the following for information about the surface color.
・front.png
・left.png
・right.png
・up.png
・down.png
・back.png
Refer to the following about color of the surface.
Conservation
Electrostatic potential