Graphing in ruby

I need to do some x /y plots in ruby for a rails app, with a log scale, does anyone know of any gems / libraries that can do this.

Tom

gruff is pretty nice, but doesn't do the log scale out of the box. It shouldn't be hard to do the log bit yourself though. There's also scruffy, but I haven't used that one

Fred

Check out ChartDirector:

* Tom Malone <tomjmalone@gmail.com> [Oct 02. 2007 13:03]:

I need to do some x /y plots in ruby for a rails app, with a log scale, does anyone know of any gems / libraries that can do this.

gdchart (see http://raa.ruby-lang.org/project/gdchart) is quite good although no longer actively maintained.

gruff (http://nubyonrails.com/pages/gruff) also look promising and its website as also an 'Other graphing software' section.

Hth,

Klaus

http://blogs.tech-recipes.com/johnny/2006/08/29/ruby-on-rails-beautiful-charts-made-easy-using-flash-with-rails-rxml-templates/ this works for me, the basic idea is generate xml on server side and use a flash program on the client to build the plot.

There is also some plugins around that do the same ... but they work with the same flash library and ideas.