Forum: Ruby Re: ruby/gnuplot on 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.
unknown (Guest)
on 2006-05-19 12:47
(Received via mailing list)
This is very strange.
Gnuplot can (not yet on your computer) produce a plot to different
These are called terminals.
In _
( ,  you find some
you can set there.
All of them should work on whatever system you use Gnuplot on.

Does this help :
(  ?

Otherwise,  you could try to export your graph to eps format and  view
it in Ghostview by executing

gnuplot> set terminal postscript enhanced color
gnuplot> set output "myplot.eps"
gnuplot> plot sin(x)

(You may need to install Ghostview first on your system, from here:

( .)

These gnuplot commands produce a file myplot.eps in the current
directory   (Cygwin command pwd tells you which it is).
Using the Windows Ghostview program, you can open it to see the
graph, if successful..

Best regards,

Jon D. (Guest)
on 2006-05-19 13:25
> Does this help :
> _
> (  ?

So from this link, I entered in the cygwin shell:


and an x-shell opened.  From here I can run

gnuplot -persist test.plt

and it works.  Is this how you are doing it?  Is there a way to have 'x'
active but working within the cygwin shell?  The next step (which got us
started on this whole process) would be to try to run a ruby/gnuplot
program.  Will being in the x shell complicate this?

This topic is locked and can not be replied to.