[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave on Windows XP using Cygwin: plotting ?
From: |
John W. Eaton |
Subject: |
Octave on Windows XP using Cygwin: plotting ? |
Date: |
Sat, 11 Sep 2004 13:38:46 -0400 |
On 11-Sep-2004, Bart Vandewoestyne <address@hidden> wrote:
| I've followed the instructions on
|
| http://wiki.octave.org/wiki.pl?OctaveForWindows (Technique 1)
|
| to install Octave on Windows XP using Cygwin. Still, it is not quite
| clear to me what is the proper way to set up the graphical output.
|
| If I fire up my cygwin environment, then i get a bash shell. Within
| that bash shell, i start up Octave, and apparently, it is version 2.1.49
| that is included in my freshly installed Cygwin distribution.
|
| If i want to plot something, of course i don't get any output and my
| Octave complains about pgnuplot not being found.
| I *do* have gnuplot version 3.8j in my cygwin installation, and I also have
| X. But what is the proper way to set up things so i have graphical output on
| Windows XP? How do i make octave, gnuplot and X talk to each other so i
| get what i want, namely some nice data-plots :-)
|
| The wiki is not so clear on this...
I think the problem is that in the time that has passed since I
created the Cygwin packages for Octave and gnuplot, a new package for
gnuplot appeared in the official set of Cygwin packages. That version
is a native Cygwin build, which can't open plot windows directly in
Windows. If you want to do that (and I think it is better than
running X just to get plotting to work) then you can do the following:
* Download a binary of gnuplot for Windows from the gnuplot area on
sourceforge (http://sourceforge.net/projects/gnuplot). Click on
the download button next to the 4.0.0 version of gnuplot. Then
download the file gp400win32.zip.
* Unzip the gp400win32.zip file.
* Copy the files
pgnuplot.exe wgnuplot.exe wgnuplot.hlp wgnuplot.mnu
to /usr/local/bin in your Cygwin installation.
* Test it by running Octave again and trying to make a plot. For
example, sombrero (41).
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------