简体   繁体   English

八度音轴的投影特性

[英]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 liboctave-dev - Development files for the GNU Octave langu i liboctave-dev - GNU Octave语言的开发文件
  • i A liboctave1 - Shared libraries of the GNU Octave languag 我是一个liboctave1 - GNU Octave语言的共享库
  • i octave - GNU Octave language for numerical computat i octave - 用于数值计算的GNU Octave语言
  • i A octave-common - architecture-independent files for octave i八度音阶 - 与八度音阶相关的独立于架构的文件
  • i A octave-control - control functions for Octave from Octave-F i Octave-F的八度控制 - 八度控制功能
  • i octave-doc - PDF documentation on the GNU Octave langua i octave-doc - 关于GNU Octave语言的PDF文档
  • i A octave-general - provide extra general functions for Octave i A octave-general - 为Octave提供额外的通用功能
  • i octave-htmldoc - HTML documentation on the GNU Octave langu i octave-htmldoc - 关于GNU Octave语言的HTML文档
  • i octave-image - image manipulation for Octave i octave-image - Octave的图像处理
  • i A octave-info - GNU Info documentation on the GNU Octave l 我是一个octave-info - 关于GNU Octave的GNU Info文档
  • i A octave-io - input/output data functions for Octave i octave-io - Octave的输入/输出数据功能
  • i A octave-java - Java objects manipulation interface for Oc i octave-java - Oc的Java对象操作接口
  • i octave-linear-algebra - additional linear-algebra functions for Oc i octave-linear-algebra - Oc的附加线性代数函数
  • i octave-plot - additional plotting tools for Octave 我octave-plot - Octave的附加绘图工具
  • i octave-plplot - Octave support for PLplot, a plotting libr 我octave-plplot - 八度支持PLplot,一个绘图libr
  • i octave-signal - signal processing functions for Octave i octave-signal - Octave的信号处理功能
  • i A octave-specfun - special mathematical functions for Octave i A octave-specfun - Octave的特殊数学函数
  • i octave-statistics - additional statistical functions for Octav i octave-statistics - Octav的其他统计函数
  • i qtoctave - Qt front-end to Octave 我qtoctave - Qt前端到Octave

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.

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