0

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 x11to 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

Community
  • 1
  • 1
kishoredbn
  • 2,007
  • 4
  • 28
  • 47
  • the `.octaverc` does not exist by default. And if it did, it would exist in your home directory, not in the octave installation (it is user configuration). Just create it if you need it. Place it on your home directory if you need it. – carandraug Sep 25 '15 at 07:11
  • I can't see an error, only to warnings. Can you please add the error message? Have you used hombrew? – Andy Sep 25 '15 at 12:43
  • It looks like the error message `warning: function ./test.m shadows a core library function` may be important. Can you edit your question to also show the code in the file test.m? – Clarissa G Sep 27 '15 at 04:45
  • Post your reproduction code on https://saturnapi.com so we can all test it – FullStack Oct 02 '15 at 13:33

0 Answers0