Forgot password?
 Register account
View 1309|Reply 3

Mathematica 次能作多个图象

[Copy link]

768

Threads

4685

Posts

310K

Credits

Credits
35004

Show all posts

isee Posted 2017-12-12 19:41 |Read mode
Last edited by isee 2017-12-12 19:47没想到。如$\text{Plot}\left[\left\{\frac{1}{x^2},\frac{1}{x},\sqrt{x},x,x^{3/2},x^{4/3},x^2,x^3\right\},\{x,-5,5\}\right]$.

还是不同颜色的。



其次,作双曲线之类的图象,也通用,如$\text{Plot}\left[y\text{/.}\, \text{Solve}\left[\frac{x^2}{2}-y^2=1,y\right],\{x,-3,3\}\right]$,结果不附件图.
d.png

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2017-12-12 22:17
这是基本操作呀……

后面那个一般是直接画吧:ContourPlot[x^2/2 - y^2 == 1, {x, -3, 3}, {y, -3, 3}]

768

Threads

4685

Posts

310K

Credits

Credits
35004

Show all posts

 Author| isee Posted 2017-12-12 23:08
回复 2# kuing


    边用边新学,觉着有点意思,与众不同。
    所以,较ContourPlot要麻烦些。。。。好命令。。。

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2017-12-12 23:21
回复 3# isee

你那样画也有好处:有坐标轴;不用给 y 的范围。
不过也只限于方程能解了。

Mobile version|Discuz Math Forum

2025-6-5 02:00 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit