Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Special pages
SBGrid Resources
SBGrid Consortium
SBGrid Data Bank
Software Webinars
PyMOL Webinar
PyMOL Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Make Figures
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Usage = <source lang="python"> make_figure filename [, mode] [, size (default=900 pixels)] [,opaque] </source> The parameters are: '''filename''' : The name of the resulting image file. ::''The extension '''.png''' is added automatically.'' ''NOTE'': if no further arguments are given, the script generates quick figures for general use: ::* figures are not ray-traced ::* TWO figures at 300 x 300 px, 72 dpi ::* views are rotated 180Β° about y (front and back view) ::* _front_quick and _back_quick are appended to the filename '''mode''' : Type of figure desired. Possible values are as follows: ::'''''single''''' = "single view" ::* one ray-traced 300 dpi figure of the current view ::'''''fb''''' = "front and back view" ::* TWO ray-traced 300 dpi figures ::* views are rotated 180Β° about y ::* _front and _back are appended to the filename ::'''''sides''''' = "four side views" ::* FOUR ray-traced 300 dpi figures ::* view is incrementally rotated by 90Β° about y ::* _1, _2, _3, and _4 are appended to the filename ::'''''stereo''''' = "stereoview" ::* TWO ray-traced 300 dpi figures ::* views are shifted by +/- 3 degrees ::* image dimensions are fixed at 750 x 750 pixels (size arguments are ignored) ::* _L and _R are appended to the filename ::* the output files are meant to be combined side by side to generate a stereo image '''size''' : Size of the figure(s) in pixels or in "panels" ::* DEFAULT = 900 pixels if a mode is specified ::* if size is 12 or smaller, the script interprets it as a number of "panels" to make. ::* panel sizes in pixels are hardcoded in the source but can easily be modified. '''opaque''' : Create an opaque background. ::* By default the figure background is 100% transparent.
Summary:
Please note that all contributions to PyMOL Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
PyMOL Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Make Figures
(section)
Add topic