Simple Graphs in Ruby?

Is their any current libraries in ruby that will generate simple (scatter plot) graphs in ruby?

I looked in RAA and Rubyforge and I got a lot of results - however a lot of them have a large number
of external dependancies and I'm trying to use this for a simple web application. As such, I'm not sure
if those external libraries are supported on the majority of web servers.

Any help/pointers anyone could give would be appreciated.

As a side note, it seems to be very difficult to find quality ruby libraries right now. Most of the results turned
up are either in alpha, discontinued, or poorly documented. Maybe an effort should be started to sift through
the available libraries and find the real gems among them. Possibly something like a list of what library is good
for what purpose?

Anyway... thanks for the help.

-Shalev

check out rpa.

-a

···

On Tue, 19 Jul 2005, Shalev NessAiver wrote:

As a side note, it seems to be very difficult to find quality ruby libraries
right now. Most of the results turned up are either in alpha, discontinued,
or poorly documented. Maybe an effort should be started to sift through the
available libraries and find the real gems among them. Possibly something
like a list of what library is good for what purpose?

--

email :: ara [dot] t [dot] howard [at] noaa [dot] gov
phone :: 303.497.6469
My religion is very simple. My religion is kindness.
--Tenzin Gyatso

===============================================================================

i forgot to mention this

   http://sciruby.codeforpeople.com/sr.cgi/InterestingProjects

specific to science but containing some graphing libs too. i spent a bunch of
time researching these and most/all are currently maintained or stable and
available.

kind regards.

-a

···

On Tue, 19 Jul 2005, Shalev NessAiver wrote:

As a side note, it seems to be very difficult to find quality ruby libraries right now. Most of the results turned
up are either in alpha, discontinued, or poorly documented. Maybe an effort should be started to sift through
the available libraries and find the real gems among them. Possibly something like a list of what library is good
for what purpose?

--

email :: ara [dot] t [dot] howard [at] noaa [dot] gov
phone :: 303.497.6469
My religion is very simple. My religion is kindness.
--Tenzin Gyatso

===============================================================================

Gnuplot is simple, self-contained, and has a ruby library to interface
to it at http://rubyforge.org/projects/rgplot/.
For me the only problem has been that the win32 support took a minor
fixup to locate the proper gnuplot exe.

you should consider gnuplot. it rocks.
it's not ruby but it may be on your host since gnuplot has been around
for a long time.

First, I'd like to thank everyone for their suggestions/recommendations. I spent some time with gnuplot and it became evident that it was both too complex and major overkill for what I'm trying to do. Basically, I would like to generate simple graphs (usually scatter plot) and display them as an image in a web page. The actual graphing would ideally be similar to the type MS Excel puts out if possible.

I'm sorry for not specifying what I was looking for clearly before. Any further suggestions on what libraries might be able to do this would be appreciated.

-Thanks
Shalev

maybe use R to plot your data.
www.r-project.org

I use gnuplot to generate graphs and plots for a web app (rails). It is
pretty bloody straightforward as far as I can see.

regards