[racket] plots/graphics without drscheme

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Fri May 11 14:12:28 EDT 2012

On 2012-05-11 10:44:43 -0700, prad wrote:
> how do i display things like
> (object:2d-view% ...)
> which are produced when we use plot etc.

For plot, you can use the plot-frame function:
  http://docs.racket-lang.org/plot/plot2d.html?q=plot-frame#(def._((lib._plot/main..rkt)._plot-frame))

You will need to (send frame show #t) where `frame` is the resulting
`frame%` object you get from `plot-frame`.

Cheers,
Asumu

Posted on the users mailing list.