如何用mathematica同时画出两个函数图像,其中一个是x=1

2024-12-21 12:54:23
推荐回答(3个)
回答1:

使用隐函数绘图Implicitplot 5.0版本
现在统一如下所示
ContourPlot[{y == Sin[x], x == 0.5}, {x, -1, 1}, {y, -1, 1}]

回答2:

ContourPlot[{y == Sin[x], x == 1}, {x, -2, 2}, {y, -2, 2}]
这里假设第一个是正弦函数

回答3:

Like this pattern
Plot[{Sin[x],Cos[x]},{x,0,Pi}];
That is OK
You will obtain a graph with a sine curve and a cosine curve whose independent variable ranges from 0 to Pi