简体   繁体   English

Octave 中的绘图函数

[英]Plot function in Octave

I opened Octave today and this showed up on the Command window.我今天打开 Octave,这显示在命令窗口中。

warning: function .\plot.m shadows a core library function

I tried running an .m file with plot functions but it doesn't work.我尝试使用绘图函数运行 .m 文件,但它不起作用。 I tried uninstalling and re-installing Octave but it's still there.我尝试卸载并重新安装 Octave,但它仍然存在。 What should I do?我该怎么办?

You saved one of your files as plot.m , and so Octave now does not know how to differentiate between yours, and the standard plot() function.您将其中一个文件保存为plot.m ,因此 Octave 现在不知道如何区分您的文件和标准的plot()函数。 It will always use yours.它会一直使用你的。 Octave is simply telling you that this is happening and that you should probably change your local file name to something else. Octave 只是告诉您这种情况正在发生,您可能应该将本地文件名更改为其他名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM