如何在 Octave 中绘制复杂的表达式?
How to plot complicated expressions in Octave?
我想知道是否有办法在 Octave 中绘制一个复杂的方程式。
例如:x + xy + (x^2)y + x(y^3) = 3
有没有办法...?
谢谢...!
是,有。根据ezplot Function Reference,解决方案其实很直接。请注意,您需要 将等式右侧 的“3” 传递到左侧 。例如,在您的示例中,以下代码应该有效:
ezplot (inline ("x + x*y + (x^2)*y + x*(y^3) - 3"));
我想知道是否有办法在 Octave 中绘制一个复杂的方程式。
例如:x + xy + (x^2)y + x(y^3) = 3
有没有办法...?
谢谢...!
是,有。根据ezplot Function Reference,解决方案其实很直接。请注意,您需要 将等式右侧 的“3” 传递到左侧 。例如,在您的示例中,以下代码应该有效:
ezplot (inline ("x + x*y + (x^2)*y + x*(y^3) - 3"));