Re: [racket-dev] Plot Contour Intervals Question (Bug?)

2012-08-04 Thread Neil Toronto
On 08/03/2012 11:59 AM, Doug Williams wrote: Here is a simple contour-interval example that I don't understand. [We are changing out some uses of shade in older code when I came across something I simplified to this.] Consider the following simple program. (require plot) (plot

Re: [racket-dev] Plot Contour Intervals Question (Bug?)

2012-08-04 Thread Neil Toronto
On 08/03/2012 11:59 AM, Doug Williams wrote: (require plot) (plot (contour-intervals (lambda (x y) (define z (- x y)) (cond (( z -1) -1) (( z 1) 1) (else z))) -2 2 -2 2)) ... Why is the lower white triangle not colored red -

Re: [racket-dev] Plot Contour Intervals Question (Bug?)

2012-08-04 Thread Doug Williams
Thanks, Neil. On Saturday, August 4, 2012 x-apple-data-detectors://32, Neil Toronto wrote: On 08/03/2012 11:59 AM, Doug Williams wrote: (require plot) (plot (contour-intervals (lambda (x y) (define z (- x y)) (cond (( z -1) -1) (( z 1) 1)