I'm trying to run matlab code in octave which works quite well, but when it comes to the point:
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. Do you know if I've to install an additional package to get this feature or does octave not support this feature at all?
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):
I cannot reproduce your error on my octave version 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
axes("Projection","perspective")
According to the Octave documentation:
projection: {"orthographic"} | "perspective" selected: {"off"} | "on" selectionhighlight: "off" | {"on"} tag: string, def. ""
A user-defined string to label the graphics object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With