[英]octave saveas undefined
I have an octave code 我有一个八度代码
M = csvread('result.csv');
h=hist(M);
saveas(h,'hist.jpg');
I got error message error: `saveas' undefined near line 11 column 1 我收到错误消息错误:第11行第1列附近的“saveas”未定义
I remember I did use saveas before. 我记得之前我确实使用过saveas。 How come it is "undefined", my current octave version is 为什么它是“未定义的”,我目前的八度版本是
$ octave -version $ octave -version
GNU Octave, version 3.2.4 Copyright (C) 2009 John W. Eaton and others. GNU Octave,版本3.2.4版权所有(C)2009 John W. Eaton等。
I just want to save a plot to an image file. 我只想将图表保存到图像文件中。 Besides "saveas", do I have any other options? 除了“saveas”,我还有其他选择吗?
Thanks a lot! 非常感谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.