Re: [racket] plots/graphics without drscheme

2012-05-11 Thread prad
Neil Toronto writes: > Oh, that's the problem. I added all those plot goodies in v5.2, when I > reimplemented it in Racket. I hope you're not stuck with v5.1. :/ > no problem! just glad to know why i couldn't get things. the pict stuff michael w told me about worked beautifully. i'll just upgrad

Re: [racket] plots/graphics without drscheme

2012-05-11 Thread Neil Toronto
On 05/11/2012 12:48 PM, prad wrote: Neil Toronto writes: On 05/11/2012 11:44 AM, prad wrote: i'm not using drscheme. how do i display things like (object:2d-view% ...) which are produced when we use plot etc. if i run a racket program from command line? i thought there might be something li

Re: [racket] plots/graphics without drscheme

2012-05-11 Thread prad
Neil Toronto writes: > On 05/11/2012 11:44 AM, prad wrote: >> i'm not using drscheme. >> >> how do i display things like >> (object:2d-view% ...) >> which are produced when we use plot etc. >> >> if i run a racket program from command line? >> >> i thought there might be something like a show fun

Re: [racket] plots/graphics without drscheme

2012-05-11 Thread Michael W
The other answers covered plotting, but for picts from the slideshow library (for example, those returned by plot/pict), you can use (show-pict some-pict) from slideshow/pict, which will display that pict in a new frame. One hour ago, prad wrote: > i'm not using drscheme. > > how do i display thi

Re: [racket] plots/graphics without drscheme

2012-05-11 Thread Neil Toronto
On 05/11/2012 11:44 AM, prad wrote: i'm not using drscheme. how do i display things like (object:2d-view% ...) which are produced when we use plot etc. if i run a racket program from command line? i thought there might be something like a show function, but it doesn't seem to be in #lang racke

Re: [racket] plots/graphics without drscheme

2012-05-11 Thread Asumu Takikawa
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 wi

[racket] plots/graphics without drscheme

2012-05-11 Thread prad
i'm not using drscheme. how do i display things like (object:2d-view% ...) which are produced when we use plot etc. if i run a racket program from command line? i thought there might be something like a show function, but it doesn't seem to be in #lang racket -- in friendship, prad _