[Top][All Lists]

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

Re: subplot errors in 5.2.0

From: Mike Miller
Subject: Re: subplot errors in 5.2.0
Date: Fri, 21 Feb 2020 22:49:01 -0800

On Fri, Feb 21, 2020 at 20:31:30 -0500, Kwan Lowe wrote:
> NO!  I'm able to display the plots fine with the -f parameter added.
> The contents of my .octaverc is:
> cd("/home/kwan/src/octave")
> setenv PYTHON python3

Any function files in the current directory always take precedence over
functions in the core library. So if you have for example a function or
script file named "max.m" in ~/src/octave, that will shadow the standard
"max" and possibly break other unrelated functions.

This global namespace behavior is something that typically bites people
just getting started with Octave, and my best guess is you have such a
file in your ~/src/octave.

Instead of 'cd', try 'addpath'. With 'addpath', you should get a warning
for any local functions that shadow standard functions on the load path.

If that doesn't work, try moving or renaming files one by one and
restarting Octave each time to see if one of them is the culprit.


Attachment: signature.asc
Description: PGP signature

reply via email to

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