help-octave
[Top][All Lists]
Advanced

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

Re: Odd plot behavior in functions in Octave 2.9.12


From: Robert A. Macy
Subject: Re: Odd plot behavior in functions in Octave 2.9.12
Date: Thu, 05 Jul 2007 13:38:01 -0700

I constantly do that with real and imag and test and...

On Thu, 5 Jul 2007 11:26:54 -0700
 "Joshua Redstone" <address@hidden> wrote:
> For posterity,
> it turns out that I was declaring a variable called
> 'print',
> which was conflicting with the function 'print()'.
> 
> Josh
> 
> On 6/14/07, Joshua Redstone <address@hidden> wrote:
> >
> > Hi John,
> > Thanks for giving it a shot.
> > Did you include the '1;' at the beginning of the
> script?
> > If you did, I have no other idea what would make a 'not
> ijmplemented'
> > error
> > show up for me and not for you.
> > Is there a way I can get octave to give me a backtrace
> of what it was
> > trying to do that generated the error?
> > Thanks,
> > Josh
> >
> > On 6/13/07, John W. Eaton <address@hidden>
> wrote:
> > >
> > > On  6-Jun-2007, Joshua Redstone wrote:
> > >
> > > | Hi,
> > > | I'm running Octave 2.9.12 on an Ubuntu box.
> > > | The follow Octave script:
> > > |
> > > | 1;
> > > | function [] = dummy()
> > > |   x = 0 : 0.1 : 1;
> > > |   plot(x, x);
> > > | endfunction
> > > |
> > > | dummy();
> > > | print("-Pjimmy");
> > > | pause;
> > > |
> > > | Displays a plot, but errors in the print command
> with:
> > > |
> > > | error:
> octave_char_matrix_str::valid_as_scalar_index(): not
> > > implemented
> > > | error: near line 8 of file `/tmp/test.m'
> > >
> > > I can't reproduce this problem.
> > >
> > > jwe
> > >
> >
> >



reply via email to

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