almost -- needs a name:

color property temperature @{ "myscheme="+color("red","blue", 20,true)}




On Tue, Feb 25, 2014 at 1:45 PM, Alexander Rose <alexander.r...@weirdbyte.de
> wrote:

> Hi Bob,
>
> cool, I haven't tried it but it sounds great.
>
> Can you name the color scheme created with color(...) to use them like
> this:
>
> color property temperature "myColorScheme"
>
> would this work?
>
> color property temperature @color(...)
>
>
>
> Best
> Alexander
>
> ----- Ursprüngliche Mail -----
> > Von: "Robert Hanson" <hans...@stolaf.edu>
> > An: jmol-users@lists.sourceforge.net
> > Gesendet: Dienstag, 25. Februar 2014 20:24:20
> > Betreff: Re: [Jmol-users] user defined color scheme
> >
> >
> >
> >
> > 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
> >
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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

Reply via email to