Forgot password?
 Create new account
View 1147|Reply 3

Mathematica 次能作多个图象

[Copy link]

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

isee Posted at 2017-12-12 19:41:41 |Read mode
Last edited by isee at 2017-12-12 19:47:00没想到。如$\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

701

Threads

110K

Posts

910K

Credits

Credits
94177
QQ

Show all posts

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

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

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

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


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

701

Threads

110K

Posts

910K

Credits

Credits
94177
QQ

Show all posts

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

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

手机版Mobile version|Leisure Math Forum

2025-4-20 22:32 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list