Glad it worked! I don't know if what you ask exists, I just make a table in
php like:
echo "<tr><th width=\"6.5%\" bgcolor=\"#0000ff\"><font
color=\"white\"><b>LOW</b></font></th>
<th width=\"3%\" bgcolor=\"#1010ff\"></th><th width=\"3%\"
bgcolor=\"#2020ff\"></th><th width=\"3%\" bgcolor=\"#3030ff\"></th>
<th width=\"3%\" bgcolor=\"#4040ff\"></th><th width=\"3%\"
bgcolor=\"#5050ff\"></th><th width=\"3%\" bgcolor=\"#6060ff\"></th>
<th width=\"3%\" bgcolor=\"#7070ff\"></th><th width=\"3%\"
bgcolor=\"#8080ff\"></th><th width=\"3%\" bgcolor=\"#9090ff\"></th>
<th width=\"3%\" bgcolor=\"#a0a0ff\"></th><th width=\"3%\"
bgcolor=\"#b0b0ff\"></th><th width=\"3%\" bgcolor=\"#c0c0ff\"></th>
<th width=\"3%\" bgcolor=\"#d0d0ff\"></th><th width=\"3%\"
bgcolor=\"#e0e0ff\"></th><th width=\"3%\" bgcolor=\"#ffffff\"></th>
<th width=\"3%\" bgcolor=\"#ffe0e0\"></th><th width=\"3%\"
bgcolor=\"#ffd0d0\"></th><th width=\"3%\" bgcolor=\"#ffc0c0\"></th>
<th width=\"3%\" bgcolor=\"#ffb0b0\"></th><th width=\"3%\"
bgcolor=\"#ffa0a0\"></th><th width=\"3%\" bgcolor=\"#ff9090\"></th>
<th width=\"3%\" bgcolor=\"#ff8080\"></th><th width=\"3%\"
bgcolor=\"#ff7070\"></th><th width=\"3%\" bgcolor=\"#ff6060\"></th>
<th width=\"3%\" bgcolor=\"#ff5050\"></th><th width=\"3%\"
bgcolor=\"#ff4040\"></th><th width=\"3%\" bgcolor=\"#ff3030\"></th>
<th width=\"3%\" bgcolor=\"#ff2020\"></th><th width=\"3%\"
bgcolor=\"#ff1010\"></th>
<th width=\"6.5%\" bgcolor=\"#ff0000\"><font
color=\"white\"><b>HIGH</b></font></th></tr></table>";

Like the ones you can find at:
http://jmol.sourceforge.net/jscolors/index.en.html#Position
along chain

Cheers.


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

> Hi Daniel,
>
> This is very helpful. I got exactly what I wanted. Thank you!
>
> One more question:
> Is there a handy way in Jmol to prepare a color legend for a user defined
> color scheme?
> Something like a long, thin, rectangular bar filled with a color rainbow
> and marked with corresponding values?
> If not, I guess it's not too much work either to prepare one by hand.
>
> Best,
> Yingjie
>
> From: Daniel Carbajo <[email protected]>
>
> I have the following working, which might be useful to you (signed applet
> in
> \"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\"
>
>
>
>
> ------------------------------------------------------------------------------
> 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