Type in plot sin (x) at the prompt: you should see the familiar sine curve in a pop-up window.
在提示符中输入plotsin (x):您应该在弹出窗口中看到熟悉的正弦曲线。
Syntactically, this is equivalent to plot sin (x), cos (x).
依照语法,该命令等同于plotsin (x),cos (x)。
The simple plot command would be plot sin (x), cos (x); the lines being graphed are separated by commas.
简单的plot命令为plotsin (x),cos (x);要画的曲线以逗号分隔。
For example, you can set the xrange also: plot [-pi: PI] sin (x).
例如,还可以设置xrange:plot [-pi:pi]sin (x)。
the amplitudes for base states where x is |1> are multiplied by exp(i*a)=cos(a)+i*sin(a).
x是 |1>的基态振幅乘上了exp(i*a)=cos(a)+i*sin(a)。
Next, let us give titles to the graph (" My First graph ") and the axes (X-axis is "Angle, in degrees," and Y-axis is "sin (Angle)").
接着,将图命名为(“MyFirstGraph”),并命名轴(x轴是“angle,indegrees”,y轴是“sin (angle)”)。
Next, let us give titles to the graph (" My First graph ") and the axes (X-axis is "Angle, in degrees," and Y-axis is "sin (Angle)").
接着,将图命名为(“MyFirstGraph”),并命名轴(x轴是“angle,indegrees”,y轴是“sin (angle)”)。
应用推荐