Hi Yingjie,
I have the following working, which might be useful to you (signed applet in
php):
echo "<script type=\"text/javascript\">
jmolInitialize(\"../jmol-12.0.49\", true);
jmolSetAppletColor(\"white\");
var jmolcmds = [
\"load 11AS.pdb filter ':A, ![HOH]'\",
\"set frank off; select all; hbonds off; spin off; wireframe off; spacefill
off; trace off; set ambient 40; set specpower 40; slab off; ribbons off;
cartoons off; label off; monitor off\",
\"set appendNew true\",
\"frame all\",
\"display all\",
\"set userColorScheme white blue yellow red green cyan orange magenta maroon
lime grey\",
\"set isosurfacepropertysmoothing false\",
\"set propertycolorscheme 'user'\",
\"select 1.1; cartoon; color atoms property temperature ABSOLUTE 0.0 10.0\"
  ];
jmolApplet([580,500], jmolcmds.join(\"; \"));
</script>";

Cheers.


2011/9/24 Yingjie Lin <[email protected]>

> Hi Angel,
>
> It is still not clear to me. I found a previous post by Bob and got the
> following to work:
>
> select 1.1;
> mydata={1.1}.occupancy.all;
> data 'property_tim @mydata';
> propertyColorScheme='bwr';
> color atoms property_tim;
>
> However, in stead of 'bwr' I would like the color to go from white(for the
> lowest values) to blue(for the highest values).
> And I would also like to have other spectrums such as white-to-green,
> white-to-red since I need to color several sets of atoms.
> I read the documentation you pointed to,  and believe that I can set my own
> color scheme by:
>
> *select 1.1; *
> *color "myScheme=[x00FF00] [xFFFF00] [x00FF00] [x00FFFF] [x0000FF]";*
> *color atoms "myScheme";*
>
> However, Jmol returns an error: invalid argument in color atom >>
> "myScheme" <<
> I don't understand how the six color values would define a color scheme.
>
> Any further instruction is appreciated. Thank you.
>
> - Yingjie
>
>
>
>
>
>
>
> On Sep 24, 2011, at 5:07 AM, [email protected]:
>
> From: " Angel Herr?ez " <[email protected]>
> Subject: Re: [Jmol-users] Customized color gradients
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> El 23 Sep 2011 a las 12:28, Yingjie Lin escribi?:
>
> I wonder whether color gradients can be customized
>
>
>
> Yes! Please see
> http://chemapps.stolaf.edu/jmol/docs/#colorscheme
>
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to