Ok... but if that is all you want, then this kind of expression will do it:
(([+"1(85%~i.86)*/-~)/)"2
For example:
(([+"1(3%~i.4)*/-~)/)"2 (1 0 0,:0 1 0)
1 0 0
0.666667 0.333333 0
0.333333 0.666667 0
0 1 0
Or, if you prefer:
1 0 0 ([+"1(3%~i.4)*/-~)0 1 0
(same result)
But I guess I am trying to understand what kind of more general
framework you want to put this kind of operation into?
Thanks,
--
Raul
On Sun, Aug 11, 2013 at 10:30 PM, Devon McCormick <[email protected]> wrote:
> Because (with the linear interpolation) it gives me gradations of colors
> across the full range of colors available (or less than the full range if I
> wanted to choose a limited number of points).
>
>
> On Sun, Aug 11, 2013 at 7:10 PM, Raul Miller <[email protected]> wrote:
>
>> On Sun, Aug 11, 2013 at 5:50 PM, Devon McCormick <[email protected]>
>> wrote:
>> > The reason I like Cliff's code is it lets me draw lines through the color
>> > cube between arbitrary corners.
>>
>> How is this useful?
>>
>> Thanks,
>>
>> --
>> Raul
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm