help-octave
[Top][All Lists]
Advanced

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

Re: Octave on Windows


From: Ying-Foon Chow
Subject: Re: Octave on Windows
Date: Mon, 11 Jan 2010 16:48:23 +0800

Many thanks for your promt replies. I should have asked my question more specifically (since the "program" I stated was not that interesting):
 
Is there anything on gnuplot (or graphics capabilities) that I should be careful when I install Octave for Windows? It seems that I need not choose anything like before (jhandle?), right?
 
My computer is running Windows XP on Intel Core 2 Duo, and it seems that I cannot get the plot (with wgnuplot?) to work properly whether I install Octave 3.0.5, 3.2.2, or 3.2.3. On the other hand, when I install Octave 3.2.3 on an older machine (also Windos XP, but the "usual" CPU), I have no problem in plotting.
 
Hope this describes my question and thanks again for any light.
 
Regards,
Y. F. Chow

On Mon, Jan 11, 2010 at 4:08 PM, Liam Groener <address@hidden> wrote:

On Jan 10, 2010, at 9:45 PM, Ying-Foon Chow wrote:

> Many thanks for all the advice and I have finally managed to download the installer using Firefox. Now I have another problem with Octave 3.2.3 (and 3.2.2) on Windows, e.g., consider the following program (hope it is right):
>
> M(1:100)=rand;
> N(1:100)=rand;
> plot(M,N)
>
> I always get the following error message (similar for 3.2.2):
>
> error: value on right hand side of assignment is undefined
> error: called from:
> error   C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\plot\__gnuplot_version__.m at line 33 column 23
> error   C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\plot\__gnuplot_has_feature__.m at line 38 column 21
> error   C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\plot\gnuplot_drawnow.m at line 209 column 11
> error   C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\plot\gnuplot_drawnow.m at line 90 column 14
While your program runs without error on my computer (Octave 3.2.3 on OS X 10.6), it certainly seems odd to call rand without any parameters. And the plot generated isn't very interesting (a single dot in the upper hand corner repeated 100 times). Are you sure you didn't want something like:

M=rand(1,100);
N=rand(1,100);
plot(M,N)

This at least gives something to see though it looks rather like a drawing 4 year old would produce with his crayons : )

Liam G.


reply via email to

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