mailr14381 - in /branches/gui_testing/graphics/misc: ./ pymol/ pymol/pymol.png pymol/pymol_icon.png pymol/virus.pml


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 15, 2011 - 15:50:
Author: bugman
Date: Mon Aug 15 15:50:18 2011
New Revision: 14381

URL: http://svn.gna.org/viewcvs/relax?rev=14381&view=rev
Log:
Added some graphics and a script to create a picture for PyMOL.


Added:
    branches/gui_testing/graphics/misc/
    branches/gui_testing/graphics/misc/pymol/
    branches/gui_testing/graphics/misc/pymol/pymol.png   (with props)
    branches/gui_testing/graphics/misc/pymol/pymol_icon.png   (with props)
    branches/gui_testing/graphics/misc/pymol/virus.pml

Added: branches/gui_testing/graphics/misc/pymol/pymol.png
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/graphics/misc/pymol/pymol.png?rev=14381&view=auto
==============================================================================
Binary file - no diff available.

Propchange: branches/gui_testing/graphics/misc/pymol/pymol.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: branches/gui_testing/graphics/misc/pymol/pymol_icon.png
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/graphics/misc/pymol/pymol_icon.png?rev=14381&view=auto
==============================================================================
Binary file - no diff available.

Propchange: branches/gui_testing/graphics/misc/pymol/pymol_icon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: branches/gui_testing/graphics/misc/pymol/virus.pml
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/graphics/misc/pymol/virus.pml?rev=14381&view=auto
==============================================================================
--- branches/gui_testing/graphics/misc/pymol/virus.pml (added)
+++ branches/gui_testing/graphics/misc/pymol/virus.pml Mon Aug 15 15:50:18 
2011
@@ -1,0 +1,33 @@
+# Add a pseudoatom for the origin of the colour ramp.
+pseudoatom orig, pos=(0,0,0), label=origin
+ 
+# Download and create the capsid structure file from the PDB.
+fetch 1rhi, async=0, type=pdb1
+split_states 1rhi
+delete 1rhi
+ 
+# Hide everything.
+hide all
+
+# Show all as a surface.
+as surface
+#show spheres
+ 
+# Create a colour ramp for the capsid.
+ramp_new proximityRamp, orig, selection=(1rhi*), range=[140, 170], 
color=[[0, 0, 0.42], white]
+ 
+# Set the colour.
+set surface_color, proximityRamp, (1rhi*)
+#set sphere_color, proximityRamp, (1rhi*)
+
+# No clipping.
+clip slab, 1000
+ 
+# Set the zoom.
+zoom center, 250
+
+# White background
+bg_color white
+
+# Centre the molecule.
+center




Related Messages


Powered by MHonArc, Updated Tue Aug 16 11:20:02 2011