How's this?
___JmolVersion="14.1.11_2014.02.25"
new feature: color(color1, color2, n, asHSL)
-- returns a color scheme as a string
-- colors can be of any nature -- string or point, name or rgb
-- n colors; simple interpolation from color1 to color2
-- asHSL must be TRUE or FALSE;
-- when TRUE, uses hue/saturation/luminance instead of rgb gradient
-- example:
$ print color("white", "red", 5, false)
[xffffff][xffbfbf][xff7f7f][xff3f3f][xff0000]
$ print color("red", "blue", 5, true)
[xff0000][xffff00][x00ff00][x00ffff][x0000ff]
$ set propertyColorScheme color("yellow","black",50,true)
$ color property temperature
Bob
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users