[argyllcms] Re: how to add patch around bw axis

  • From: "Lars Tore Gustavsen" <lars.tore@xxxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 1 Nov 2008 09:52:56 +0100

2008/11/1 Nikolay Pokhilchenko <nikolay_po@xxxxxxx>:
>> awk 'BEGIN {ORS =" "} {print $1}{print (rand()*2-1)*7}{print
>> (rand()*2-1)*7}{print "\n"} '|\
>
> You will get SQRT(7^2+7^2)=9.9 dE max distance and square section of Your 
> distribution. My method gives round section of distribution with true radius 
> 7.

Thanks for pointing this out. I guess I was so frustrated by the
rand() function in awk, that I forgot the most obvious mathematics.

And for the record, I think I base my understanding of this process
from this discussion between Ben Goren and Graeme Gill.
//www.freelists.org/archives/argyllcms/09-2007/msg00003.html

Other related posts: