help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: please help me plot


From: Ivan Sutoris
Subject: Re: please help me plot
Date: Fri, 6 Feb 2009 12:13:29 +0100

On Fri, Feb 6, 2009 at 7:13 AM,  <address@hidden> wrote:
> David,
>
>  Cygwin's Octave versions are outdated, and they would use
>  GNUPLOT which gives enough headaches on XP/windows machines.
>  On my vista machine with cygwin installed invoking octave
>  itself used to be a training exercise, like waking your
>  baby to go to school early morning.
>
>  My suggestion is download version 3.0.1 (pretty stable)
>  The newer ones are not stable though, they crashed with
>  one of my filter design program. I am yet to report to
>  octave-help on this. I am talking about 3.0.3.
>
>  1. Remove Cygwin from winxp machine, unless u need it
>     for some other reasons. Removing cygwin is also
>     unclean and I used to delete the folder (barbaric act
>     acc to windows OS).
>
>  2. Download Octave3.0.1 from Octave-Forge.
>
>  3. Install with jhandles as graphics backend. later you
>     can always change to gnuplot if u dont like jhandles
>     in octave environment.
>
>  4. These are my personal experiences, which many people
>     have all rights to agree/disagree. I am still facing
>     issue with help command in Octave on Vista machine. So
>     my take is if u are using linux then octave is for u,
>     but if u are using windows try Scilab, their version 5
>     is promising for signal and audio processing applications.
>     though somewhat slow and no I/O provided for image/video
>     processing, i suppose even octave does not do well on
>     audio on windows, and aviread/aviwrite and movieplay
>     functions are far fetched.
>
> Regards
> Bharat
>
>
>
>
>> Hello - I just installed Cygwin on an XP Home laptop.  Below are the two
>> Octave commands I entered and the result.
>>
>>
>>
>> octave:1> x = 1:1:5;
>> octave:2> plot(x);
>> octave:3>
>> gnuplot> set terminal aqua 1 enhanced
>>                       ^
>>          line 0: unknown or ambiguous terminal type; type just 'set
>> terminal' for a list
>>
>>
>> gnuplot> plot "-" using ($1):($2) axes x1y1 title "" with lines linestyle
>> 1 ;
>>               ^
>>          line 0: use 'set term' to set terminal type first
>>
>>
>> gnuplot> 1 1
>>          ^
>>          line 0: invalid command
>>
>>
>> gnuplot> 2 2
>>          ^
>>          line 0: invalid command
>>
>>
>> gnuplot> 3 3
>>          ^
>>          line 0: invalid command
>>
>>
>> gnuplot> 4 4
>>          ^
>>          line 0: invalid command
>>
>>
>> gnuplot> 5 5
>>          ^
>>          line 0: invalid command
>>
>>
>> gnuplot> e
>>          ^
>>          line 0: invalid command

To use gnuplot in Cygwin (ie for plotting in graphical window), you
need to start Cygwin X server (if you have it installed, ways to do it
are described in [1]). I've had mixed experience with Cygwin X,
sometimes it worked, sometimes not (not sure why, I didn't investigate
further), so I stick to using native Windows version from Octave
Forge.

Regarding bharat's comments, I'm using windows version of Octave 3.0.3
from Octave Forge and everything works fine for me, so unless you need
Cygwin for some specific reason, I suggest you give it a try (although
I prefer using gnuplot as graphics engine, it's more mature).

[1] http://x.cygwin.com/docs/ug/using.html#using-starting

Regards
Ivan Sutoris


reply via email to

[Prev in Thread] Current Thread [Next in Thread]