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

On 2 Oct 2007, at 12:03, Tom M. wrote:

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.

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:

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.

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

SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)