回答
ContourPlot[x^3 + y^3 == 6*x*y, {x, -2.7, 5.7}, {y, -7.5, 5}]
两点意见:
- 注意双等号和乘法符号。
- 您可以通过WolframAlpha界面找到这个确切的输入。这个界面更加宽容,几乎可以接受你的输入 - 虽然我确实需要指定我想要某种类型的绘图。
适用于Wolfram | Alpha的好用。 – 2012-01-12 04:04:13
谢谢你..但我并不是指只绘图..我想处理它..喜欢分化和东西..我可以隐式区分这个方程吗? – 2012-01-13 10:07:57
我猜这就是你需要:
http://reference.wolfram.com/mathematica/Compatibility/tutorial/Graphics/ImplicitPlot.html
ContourPlot[x^3 + y^3 == 6 x*y, {x, -10, 10}, {y, -10, 10}]
是,使用ContourPlot
。
而且它甚至有可能沿着自身的曲线绘制文本x^3 + y^3 = 6xy
,通过更换Line
原始几个Text
原语:
ContourPlot[x^3 + y^3 == 6 x y, {x, -4, 4}, {y, -4, 4},
Background -> Black, PlotPoints -> 7, MaxRecursion -> 1, ImageSize -> 500] /.
{
Line[s_] :>
Map[
Text[Style["x^3+y^3 = 6xy", 16, Hue[RandomReal[]]], #, {0, 0}, {1, 1}] &,
s]
}
或者您可以沿曲线动画的公式,像这样:
res = Table[ Normal[
ContourPlot[x^3 + y^3 == 6 x y, {x, -4, 4}, {y, -4, 4},
Background -> Black,
ImageSize -> 600]] /.
{Line[s_] :> {Line[s],
Text[Style["x^3+y^3 = 6xy", 16, Red], s[[k]], {0, 0},
s[[k + 1]] - s[[k]]]}},
{k, 1, 448, 3}];
ListAnimate[res]
一个人不可能为这个答案投票:一个人怎么可能抵制沿轨道运行的“方程式”? – murray 2012-01-12 04:28:07
+1。你真的很专业。 – 2014-09-20 03:33:23
- 1. 使用函数式编程在mathematica中模拟排列函数
- 2. 在mathematica中使用复数函数6
- 3. 在Mathematica中使用等式约束的函数最小化8
- 4. 在Mathematica中使用“CreateDocument”函数而不会丢失格式
- 5. 如何在Matlab中调用Mathematica函数?
- 6. 在Mathematica中从隐式方程中分离偏导数
- 7. Mathematica Manipulate函数
- 8. NMheimize Mathematica函数
- 9. 如何在Mathematica中使用沿函数参数值的单位
- 10. mathematica中的函数迭代
- 11. Mathematica中的NSolve函数
- 12. 在scala中使用我的函数 - 在函数上应用隐式转换
- 13. 在Mathematica中使用Manipulate函数来将函数拟合到数据
- 14. Mathematica:函数文档
- 15. Mathematica:将函数应用到列表中
- 16. 在Mathematica中绘制阶梯函数
- 17. 在Mathematica中重复n次函数
- 18. 在mathematica中绘制sigmoid函数
- 19. 在mathematica中matlab subs()的等价函数
- 20. 在mathematica包中定义私有函数
- 21. 在Mathematica中作为PDF插值函数
- 22. 在mathematica中编写两个函数
- 23. 如何在“Cases”Mathematica函数中使用“>”和“<”?
- 24. 在Mathematica中使用MaxValue []函数定义一个区域
- 25. 在mathematica矩阵图中使用2种颜色函数
- 26. 如何隐式使用函数?
- 27. 隐式函数__strcpy_chk()调用
- 28. C++隐式函数调用
- 29. 在Mathematica中使用MySQL数据库
- 30. 使用Mathematica Manipulate函数绘制传递函数
为什么有人编辑在原始问题或任何答案中根本不添加“z”? – agentp 2013-02-14 18:16:45
这不是一个函数,它是三个笛卡尔坐标* x *,* y *和* z *中的*方程*。然而,等式的左边可以被认为给出了从\ R^3到\ R的映射(函数)的'规则'。然后等式给出这个标量场(地图,函数)的特定水平集,它是空间中的二维表面。 – 2013-10-15 14:25:34