[racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Neil Toronto
Re-routing this email exchange to [racket-dev] for comments. Long story short: Jay roped me into replacing the current `plot' module by wrapping a plot library I was working on for my own use. (FWIW, I'm happy to finally contribute something!) Intended features: 1. Doesn't depend on an FFI t

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Robby Findler
On Tuesday, August 2, 2011, Neil Toronto wrote: > Re-routing this email exchange to [racket-dev] for comments. > > Long story short: Jay roped me into replacing the current `plot' module by wrapping a plot library I was working on for my own use. (FWIW, I'm happy to finally contribute something!)

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Matthias Felleisen
Will it be backward compatible with plot? -- Matthias On Aug 2, 2011, at 1:33 PM, Neil Toronto wrote: > Re-routing this email exchange to [racket-dev] for comments. > > Long story short: Jay roped me into replacing the current `plot' module by > wrapping a plot library I was working on for m

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Neil Toronto
I'll write a backward-compatible wrapper for plot, so yes. Mostly. I'll try to emulate it as closely as possible, but any code that depends on the specific pixels or snip% class `plot' generates will probably break. I want plot2d and plot3d to be a little saner than plot. For example, currentl

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Eli Barzilay
An hour ago, Neil Toronto wrote: > I'll write a backward-compatible wrapper for plot, so yes. > Mostly. I'll try to emulate it as closely as possible, but any code > that depends on the specific pixels or snip% class `plot' generates > will probably break. > > I want plot2d and plot3d to be a litt

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Matthew Flatt
At Tue, 2 Aug 2011 16:20:43 -0400, Eli Barzilay wrote: > This replacement would be great -- it's pretty bad now that it goes > out to a(n outdated) C library with inferior graphic capabilities, > draws the graph into a temporary file which is then loaded back in > Racket. No, the current plot draw

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Eli Barzilay
About a minute ago, Matthew Flatt wrote: > At Tue, 2 Aug 2011 16:20:43 -0400, Eli Barzilay wrote: > > This replacement would be great -- it's pretty bad now that it > > goes out to a(n outdated) C library with inferior graphic > > capabilities, draws the graph into a temporary file which is then >

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Neil Toronto
On 08/02/2011 01:28 PM, Eli Barzilay wrote: About a minute ago, Matthew Flatt wrote: At Tue, 2 Aug 2011 16:20:43 -0400, Eli Barzilay wrote: This replacement would be great -- it's pretty bad now that it goes out to a(n outdated) C library with inferior graphic capabilities, draws the graph into

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Doug Williams
I use the plot extensions to create new plots for histograms, etc. So, extensibility is important to us. We actually roll our own plots directly onto canvases for most of our day-to-day usage. As things get ready, I'd be happy to roll them into the science collection plots. Doug On Tue, Aug 2, 20

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Eli Barzilay
5 hours ago, Neil Toronto wrote: > On 08/02/2011 01:28 PM, Eli Barzilay wrote: > > Ah, so that probably makes things even easier for Neil. > > I wish it did! But the current stuff still uses libplplot via FFI. > Matthew's overhaul makes libplplot render to a dc<%> instead of > saving to a file. Th

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Guillaume Marceau
> Doug and other heavy `plot' users: What can I add to plot2d and plot3d to > make your life easier? Do you know about ggplot? It's a plotting library based on a grammar of graphic elements, rather than a bucket of pre-set charts, which is what most plotting libraries offer. The design principles

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Eli Barzilay
15 minutes ago, Guillaume Marceau wrote: > [...] >http://had.co.nz/ggplot2/resources/2007-past-present-future.pdf > [...] colour <- paste( "ifelse(", cond_string, ", '", brush, "', '", background, "')", sep="" ) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzil

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-03 Thread Noel Welsh
This is great -- a better plotting library will make some of work a lot easier. > Noel: Do you happen to have a kernel density estimator implementation that > uses FFT or is otherwise more efficient than O(n^2)? Currently, (plot2d > (density samples)) works, but is slow on large samples. Nope, so

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-05 Thread Neil Toronto
Redirecting this from Kevin back to the group, because I think at least plot2d is good enough for anyone to play with now. I've put all of it here: https://github.com/ntoronto/plt-stuff/tree/master/plot The main module files are meant to be plot2d.rkt and plot3d.rkt. Both contain tests ri

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-27 Thread Neil Toronto
On 08/27/2011 11:26 AM, Aaron Turon wrote: Hi Neil, I've been using the new plot library for visualizing some benchmark results in three dimensions (# threads, amount of work, throughput). It's very easy to use, and the interactive 3d plots are great. I also plan to use the PDF export for my ne

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-28 Thread Aaron Turon
Hi Neil, I've been using the new plot library for visualizing some benchmark results in three dimensions (# threads, amount of work, throughput). It's very easy to use, and the interactive 3d plots are great. I also plan to use the PDF export for my next paper. Thanks for making this available!