help-octave
[Top][All Lists]
Advanced

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

Re: Error using plot in octave


From: Martin Helm
Subject: Re: Error using plot in octave
Date: Fri, 27 May 2011 01:10:46 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Am Freitag, 27. Mai 2011, 00:22:36 schrieb Liam Groener:

> On May 26, 2011, at 11:12 AM, Thirunavukkarasu wrote:

> > I am a newbie to Linux and using Ubuntu 11.04

> >

> >

> > When I was using octave for simple plotting

> >

> > x=[0:pi/32/10*pi]';

> > y=sin(x);

> > plot(x,y)

> >

> > Following error occurred when I used plot command

> >

> > panic: Illegal instruction -- stopping myself...

> > attempting to save variables to `octave-core'...

> > save to `octave-core' complete

> > GNU Octave, version 3.2.4

> > Copyright (C) 2009 John W. Eaton and others.

> > This is free software; see the source code for copying conditions.

> > There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or

> > FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.

> > Octave was configured for "i686-pc-linux-gnu".

> > Additional information about Octave is available at

> > http://www.octave.org. Please contribute if you find this software

> > useful.

> > For more information, visit http://www.octave.org/help-wanted.html

> > Report bugs to <address@hidden> (but first, please read

> > http://www.octave.org/bugs.html to learn how to write a helpful report).

> > For information about changes from previous versions, type `news'.

> >

> >

> > I request you to sort out this issue.

>

> Are you sure the line:

> x=[0:pi/32/10*pi]';

> is not supposed to be:

> x=[0:pi/32:10*pi]';

> or something similar?

Most likely you are right that the first line of the original code does not make much sense, but octave should not crash.

I quickly tried the same code from Thirunavukkarasu on Linux Mint 10 (32 bit) with the same version of octave and it does not crash.

This looks more like an ubuntu bug than an octave bug.




reply via email to

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