[racket] plot: HOLY MOLEY!

From: Laurent (laurent.orseau at gmail.com)
Date: Wed Nov 2 09:55:53 EDT 2011

>
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111102/cb2deacd/attachment.html>

Posted on the users mailing list.