Hi Steve and Bob,
One perhaps simpler way is to define the surface for each residue or chain
separately?
Such as (analogous to Bob's example):
define proteinchain1 :a;
isoSurface proteinchain1surf select(proteinchain1) sasurface opaque red;
define proteinchain2 :b;
isoSurface proteinchain2surf select(proteinchain2) sasurface opaque yellow;
This has the added benefit of being faster and working with more versions of
Jmol; Bob's code failed in jmol-12.0.RC12. While my idea generates images that
aren't as fancy, it runs much faster. In testing it myself in jmol 12.0.21 I
noted that Bob's code takes a long time to run yet the junction of the two
colors looks different with my simpler version looking poorer with prominent
gaps where the two colors transition nicely into one another in Bob's.
Wayne
Bob wrote:
Don't know that I'd call that SIMPLE..... But it should work.
On Thu, Nov 11, 2010 at 5:42 AM, Steven Platt <steven.pl...@hpa.org.uk>wrote:
> Many thanks Bob. I knew I had to be missing something simple somewhere
>
> Steve
>
>
> Steve,
>
> What you would do is set a property of the atom to a given number, and then
> color the isosurface using the user custom scheme
>
> {*:A}.property_color = 1
> {*:B}.property_color = 2
> set usercolorscheme red yellow
> isosurface sasurface map property_color colorScheme "user"
>
> Bob
>
> On Wed, Nov 10, 2010 at 5:47 AM, Steven Platt <steven.pl...@hpa.org.uk>
> wrote:
>
> Hi,
>
> I?m using the Application (12.0.19) to generate a few figures and cannot
> seem to see, in the online scripting documentation, how to assign colour
> to the isosurface of specific residues. I have a few groups defined and
> can colour/represent the protein chains exactly as I need them, but the
> isosurface seems to be all or nothing.
>
> Can anyone point me in the right direction?
>
> Thanks
>
> Steve
>
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users