[racket-dev] plot doesn't plot (inexact->exact: no exact representation for +nan.0)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
So I just wanted to repost this to dev for the record.
The program:
;== start
#lang racket
(require plot)
;(plot3d-diffuse-light? #f)
;(plot3d-specular-light? #f)
(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")))
;== end
produces:
inexact->exact: no exact representation for +nan.0
but when the commented lines are uncommented it does plot. The plot
looks plausible, though apparently it should be possible to drag
inside the plot area to change the view. This is not possible for me;
the view is stuck from looking along the xy-plane onto the z-axis.
Matthew has been trying to determine the cause via private email.
Matthew, has any of the data I provided so far pointed you anywhere?
Otherwise is there something else I can do to help debug?
Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7d6uIACgkQp/VmCx0OL2yVAQCdEaRC6AuBfrbUtFBXDJF4uBVh
lJYAoIfI1nkHSURKjhdNeN4qX13I2vnm
=NTTc
-----END PGP SIGNATURE-----