[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plot function not working
From: |
Mike Miller |
Subject: |
Re: Plot function not working |
Date: |
Fri, 19 Aug 2016 08:52:28 -0700 |
User-agent: |
Mutt/1.6.2-neo (2016-07-23) |
On Fri, Aug 19, 2016 at 00:28:41 -0700, ammc wrote:
> Hi there,
>
> I recently installed Octave on Win10, and the plot function is not working
> at all. When I enter a=[1 2 3] followed by plot(a), no plot window launches.
> I get the error:
>
> error: 'x2' undefined near line 2 column 9
> error: called from
> length at line 2 column 2
> __plt_get_axis_arg__ at line 59 column 8
> plot at line 210 column 23
> error: evaluating argument list element number 1
> error: called from
> length at line 2 column 2
> __plt_get_axis_arg__ at line 59 column 8
> plot at line 210 column 23
The error message looks like you had defined your own length.m function
or script file. The builtin length function would not show the error
message above because it is not a .m file.
Watch out when naming your files that they do not conflict with the
names of builtin functions because these kinds of mysterious errors will
happen again.
--
mike
- Plot function not working, ammc, 2016/08/19
- Re: Plot function not working, Andreas Weber, 2016/08/19
- Re: Plot function not working, Nicholas Jankowski, 2016/08/19
- Re: Plot function not working,
Mike Miller <=
- Re: Plot function not working, Nicholas Jankowski, 2016/08/19
- Re: Plot function not working, Mike Miller, 2016/08/19
- Re: Plot function not working, Nicholas Jankowski, 2016/08/19
- Re: Plot function not working, Mike Miller, 2016/08/19
- Re: Plot function not working, Nicholas Jankowski, 2016/08/19
- Re: Plot function not working, Mike Miller, 2016/08/19
- Re: Plot function not working, Nicholas Jankowski, 2016/08/19