I was trying to use plot(x,y) function of octave but couldn't use it.
Keep getting this error:
warning: function ./test.m shadows a core library function
Fontconfig warning: ignoring UTF-8: not a valid region tag
Tried using setenv("GNUTERM","X11");
before using plot(x,y)
function, that didn't work.
Saw some couple of stackoverflow and other solutions (this, this, this and this) but didn't help much.
There wer some site which talks about adding something like this setenv GNUTERM x11
to append in .octaverc
file, but unfortunately I don't have .octaverc
.
ikis-MacBook-Pro:Cellar ikis $ find octave -name ".octaverc"
ikis-MacBook-Pro:Cellar ikis $
Can any one help with this.
OS: Yosemite
Octave version: GNU Octave, version 4.0.0