Install Octave Windows Cygwin

07.02.2020by admin

I've followed the instructions on(Technique 1)to install Octave on Windows XP using Cygwin. Still, it is not quiteclear 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. Withinthat bash shell, i start up Octave, and apparently, it is version 2.1.49that is included in my freshly installed Cygwin distribution.If i want to plot something, of course i don't get any output and myOctave complains about pgnuplot not being found.I.do. have gnuplot version 3.8j in my cygwin installation, and I also haveX. But what is the proper way to set up things so i have graphical output onWindows XP?

  1. Cygwin Windows 10
  2. Install Cygwin On Windows

Cygwin Windows 10

How do i make octave, gnuplot and X talk to each other so iget what i want, namely some nice data-plots:-)The wiki is not so clear on this.Regards,Bart-!!!!!!!!!!!!!!!!!!! Email change!!!!!!!!!!!!!!!!!!!!!!!My email address is now Bart.Vandewoestyne AT telenet.bePlease update your addressbook!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-Octave is freely available under the terms of the GNU GPL.Octave's home on the web: How to fund new projects: Subscription information. On 11-Sep-2004, Bart Vandewoestyne wrote: I've followed the instructions on (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 Icreated the Cygwin packages for Octave and gnuplot, a new package forgnuplot appeared in the official set of Cygwin packages. That versionis a native Cygwin build, which can't open plot windows directly inWindows. If you want to do that (and I think it is better thanrunning X just to get plotting to work) then you can do the following:.

Download a binary of gnuplot for Windows from the gnuplot area onsourceforge. Click onthe download button next to the 4.0.0 version of gnuplot. Thendownload the file gp400win32.zip. Unzip the gp400win32.zip file. Copy the filespgnuplot.exe wgnuplot.exe wgnuplot.hlp wgnuplot.mnuto /usr/local/bin in your Cygwin installation. Test it by running Octave again and trying to make a plot. Forexample, sombrero (41).jwe-Octave is freely available under the terms of the GNU GPL.Octave's home on the web: How to fund new projects: Subscription information.

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.

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).Thanks John, this indeed worked.Still, now, I have the overhead of Cygwin. Suppose I was someone whojust needed Octave + plotting capabilities on Windows and I am notreally interested in installing Cygwin, is it then also possible to getthings working without Cygwin?Would i then only have to install the following file octave-2.1.50a-inst.exefromIs this enough, or dhoesn't this installer include gnuplot and do I then alsoneed the files from gp400win32.zip as you mentioned? And if 'yes' tothis last question, then do i need to 'connect' octave and gnuplot in acertain way for them to be able to work together?Regards,BartPS: this might be a little off-topic, but for those interested: I ammaintaining a list of Open Source Software for Windows. SeeI'm quite sure a lot of you will find itan interesting list:-)-!!!!!!!!!!!!!!!!!!!

Email change!!!!!!!!!!!!!!!!!!!!!!!My email address is now Bart.Vandewoestyne AT telenet.bePlease update your addressbook!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-Octave is freely available under the terms of the GNU GPL.Octave's home on the web: How to fund new projects: Subscription information. On 11-Sep-2004, Bart Vandewoestyne wrote: Still, now, I have the overhead of Cygwin. Suppose I was someone who just needed Octave + plotting capabilities on Windows and I am not really interested in installing Cygwin, is it then also possible to get things working without Cygwin?Why does it matter? If you install some binary package for Windows,it could contain any number of libraries and other programs that workbehind the scenes to make your application go.

To me, that's whatCygwin provides for Octave.jwe-Octave is freely available under the terms of the GNU GPL.Octave's home on the web: How to fund new projects: Subscription information. How do you 'undo' the change in features to the gsplotfunction caused by running sombrero? In otherwords, returnthe plotting function to 'default' conditions?After running sombrero(41), my display is now opaque, greenon top, red on the bottom, etcI triedgset autoscalegset resetnothing returns my gsplots to the default settings. I haveto shut off octave, losing all variables, and start over.- Robert -running binary 2.1.50 on Win98On Sat, 11 Sep 2004 13:38:46 -0400'John W.

Eaton' wrote. 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: How to fund new projects: Subscription information. That removed the opaque green/red lines, butnow it's all little red squares!- Robert -Again, binary version for Win98octave-2.1.50a-inst.exewhich contains gnuplot 3.8 dated 2002Oddly, gnuplot does not appear until I ask for my firstplot.

Windows

Yet, if after my first plot, I close gnuplot as anapplication; gnuplot never comes back until I close octaveand start another session. No more plotting ever, until anew session.On Mon, 13 Sep 2004 16:05:26 +0100Geraint Paul Bevan wrote.

-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 robert Macy wrote: After running sombrero(41), my display is now opaque, green on top, red on the bottom, etc I tried gset autoscale gset reset nothing returns my gsplots to the default settings. I have to shut off octave, losing all variables, and start over. - Robert - There is probably something wrong with your installation of gnuplot in that case. The sombrero function shouldn't make your display opaque! Have you tried?: graw('reset;') -Geraint Bevan -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - iEYEARECAAYFAkFFtzYACgkQcXV3N50QmNOPCQCePzIV00fUl72eUY1YbBpYA17M hjcAn2ViBA7CkVCXSwbDnSL7NEAnU8Ns =g/ys -END PGP SIGNATURE-Octave is freely available under the terms of the GNU GPL.Octave's home on the web: How to fund new projects: Subscription information. On 13-Sep-2004, robert Macy wrote: How do you 'undo' the change in features to the gsplot function caused by running sombrero? In otherwords, return the plotting function to 'default' conditions?

After running sombrero(41), my display is now opaque, green on top, red on the bottom, etc I tried gset autoscale gset reset nothing returns my gsplots to the default settings. I have to shut off octave, losing all variables, and start over.I don't know, I've not seen that problem. You could trycloseplotwhich should terminate the connectino to the external gnuplotprocess. Then the next time you plot something, it should start a newgnuplot process in the default mode.jwe-Sadly, everything always works perfectly for me, so in order to findthe problems some outside help is needed. Linus Torvalds, 30 July 1994-Octave is freely available under the terms of the GNU GPL.Octave's home on the web: How to fund new projects: Subscription information. Robert Macy wrote: ARRRGGG!!!!! That removed the opaque green/red lines, but now it's all little red squares!gset data style lines(I have a typo - 'datastyle' in my previous message.

Sorry about that.) - Robert -Regards,Dmitri.-Octave is freely available under the terms of the GNU GPL.Octave's home on the web: How to fund new projects: Subscription information. On 13-Sep-2004, robert Macy wrote: How do you 'undo' the change in features to the gsplot function caused by running sombrero? In otherwords, return the plotting function to 'default' conditions? After running sombrero(41), my display is now opaque, green on top, red on the bottom, etc I tried gset autoscale gset reset nothing returns my gsplots to the default settings. I have to shut off octave, losing all variables, and start over. I don't know, I've not seen that problem. You could try closeplot which should terminate the connectino to the external gnuplot process.

Then the next time you plot something, it should start a new gnuplot process in the default mode. jwe - Sadly, everything always works perfectly for me, so in order to find the problems some outside help is needed.

Linus Torvalds, 30 July 1994-Octave is freely available under the terms of the GNU GPL.Octave's home on the web: How to fund new projects: Subscription information.

Octave for Windows HOWTOFrom:Agustin BartoSubject:Octave for Windows HOWTODate:Fri, 10 Mar 2006 09:52:23 -0300User-agent:Thunderbird 1.5 (X1)A lot of people asked me about the procedure from which I build the anewer version of the Octave for Windows stand-alone package. Here goes:a) Install a basic cygwin enviroment using the setup tool.b) Install octave and octave-forge using the setup tool. Beforeproceding I manually remove gnuplot and any X11 and graphic libsdependencies. This has to be done manually selecting the proper listfrom the installer (iirc it was the 'Partial' list).

After the all thepackages are selected as 'Skip' from the list, the installer willcomplain about octave depending on gnuplot. Click on the checkbox at thebottom of the dialog to continue anyway.c) Download the native version of gnuplot from gnuplot.sf.net and copyall the binaries to the /bin of the cygwin dir (I don't the docs).

Install Cygwin On Windows

Install Octave Windows Cygwin

Copypgnuplot.exe to gnuplot.exe, so octave could find it (this can also bedone from octave config files, but I couldn't remember exactly how).d) Install rxvt from the setup tool.e) Copy startoctave.sh from octave-forge to the cygwin dir. It doesn'tmatter where 'cause it's only referenced by the nsis script, which hasto be modified anyway.

There is a problem with symlinks and the nsisinstall builder (don't know exactly why), so in the script you have tochange octave.exe to octave-2.1.72.exe. Also you need to add the fullsystem (cygwin) path to the PATH variable, so cygwin can locate the dlls.f) Copy an octave icon to the cygwin dir. I used the xcalc icon from theNuvola collection.g) Modify the octave-forge nsis script to make it work with the newdirectory structure (octave is no longer installed at/opt/octave-VERSION and some of the registry entries neededmodifications as well). I'll upload the script (along with all themodified files) as soon as I get home.h) Build the package using nsis with the modified script.If you look at the procedure you'll notice that I didn't remove anythingfrom the cygwin enviroment.

Install Octave Windows Cygwin

Perhaps some useless packages can bemanually deleted to save some space.-Octave is freely available under the terms of the GNU GPL.Octave's home on the web:How to fund new projects:Subscription information:-reply via email toPrev in ThreadCurrent Thread. Octave for Windows HOWTO,Agustin Barto.