[英]Projection property of axes in octave
I'm trying to run matlab code in octave which works quite well, but when it comes to the point: 我试图在八度音程中运行matlab代码,它运行得很好,但是当涉及到这一点时:
axes('Projection','perspective')
the code breaks with following error 代码中断了以下错误
error: invalid value = perspective
error: set: invalid value for radio property "projection" (value = perspective)
error: called from:
error: /usr/share/octave/3.6.4/m/plot/axes.m at line 39, column 9
I know from the docs that matlab supports this property, but octave seems not to support this feature. 我从文档中知道matlab支持这个属性,但八度似乎不支持这个功能。 Do you know if I've to install an additional package to get this feature or does octave not support this feature at all? 你知道我是否要安装一个额外的软件包来获得这个功能,或者octave根本不支持这个功能吗?
The octave doc is not very helpful in this point. 八度文档在这一点上不是很有帮助。 Additionally I didn't found any information on this. 另外,我没有找到任何关于此的信息。
Here is my list of installed packages (os = xubuntu 13.10 64 bit): 这是我安装的软件包列表(os = xubuntu 13.10 64 bit):
I cannot reproduce your error on my octave version 3.8.2 我无法在我的八度版本3.8.2上重现您的错误
the command 命令
axes('Projection','perspective')
does not throw an error, however, as in other instances octave normally complains about single use quotations so you can try 但是,不会抛出错误,因为在其他情况下,octave通常会抱怨单次使用报价,因此您可以尝试
axes("Projection","perspective")
According to the Octave documentation : 根据Octave 文档 :
projection: {"orthographic"} | 投影:{“拼写”} | "perspective" selected: {"off"} | 选择“透视”:{“off”} | "on" selectionhighlight: "off" | “on”selectionhighlight:“off”| {"on"} tag: string, def. {“on”} tag:string,def。 "" “”
A user-defined string to label the graphics object. 用于标记图形对象的用户定义字符串。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.