Forum: Ruby Ruby and Gnuplot and Windows

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
67bb4df2775f6a6b603347dce7119571?d=identicon&s=25 unknown (Guest)
on 2006-06-07 12:20
(Received via mailing list)
I want to combine Gnuplot support to an FXRuby application, and
this always crashes with Segfault when I run it in Cygwin, which used to
my way of running Ruby and indeed anything on Windows...
So I tried to install the ruby gnuplot gem (v 2.2) using the gem
of the one-click
installer, and tried this test file:

require 'rubygems'
require 'gnuplot' do |gp| gp ) do |plot|

plot.xrange "[-10:10]"
plot.title  "Sin Wave Example"
plot.ylabel  "x"
plot.xlabel "sin(x)" << "sin(x)" ) do  |ds|
ds.with =  "lines"
ds.linewidth = 4



Now, the application starts, but just doesn't do anything - there is
no error message or warning, and no output.
Does anybody use Ruby Gnuplot and the Ruby from the one-click
installer (latest version) successfully ?


Best regards,

This topic is locked and can not be replied to.