[racket] plot: HOLY MOLEY!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02-11-11 14:55, Laurent wrote:
>>
>>
>> Which is just absolutely amazing. But then, just on a total
>> whim, I used the mouse to... grab and turn it ?!?? JAW DROPS
>> OPEN HERE.
>>
>
> Wow, that is cool!
>
> For those who want to try that right away, here is a snippet taken
> from the docs:
>
> #lang racket (require plot) (plot3d (list (surface3d (λ (x y) (+
> (sqr x) (sqr y))) -1 1 -1 1 #:label "z = x^2 + y^2") (surface3d (λ
> (x y) (- (+ (sqr x) (sqr y)))) -1 1 -1 1 #:color 4 #:line-color 4
> #:label "z = -x^2 - y^2")))
>
>
> (actually that's a seven-liner ;) )
>
> Laurent
I just tried this fragment on my current git checkout and got:
inexact->exact: no exact representation for +nan.0
this is on a x86-64 GNU/Linux box
Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7KN6IACgkQp/VmCx0OL2zEhgCdEd5lDcUwm40vVj21HzUkC/OB
A4UAnAtDcRKxC71FTE3AA8/MMRCVyEgK
=r+H0
-----END PGP SIGNATURE-----