|
这样都能绘图。。
我一不小心在命令行底下绘图
- (%i1) plot2d(x^3+2*x^2-3,[x,-2,2]);
- *** X11 output driver not found, switching to dumb terminal!
- *** If you want to use the X11 output, please install the gnuplot-x11 package
- 14 ++-------+--------+--------+--------+-------+--------+--------+-------++
- + + + + + + x^3+2*x^2-3 $$$ $
- 12 ++
- | $ |
- 10 ++ $ ++
- | $ |
- | $ |
- 8 ++ $ ++
- | $ |
- 6 ++ $ ++
- | $ |
- 4 ++ $ ++
- | $ |
- 2 ++ $ ++
- | $$ |
- | $ |
- 0 ++ $$ ++
- | $$ |
- -2 ++$$$$$$$$$$$$$ $$$ ++
- $ + + $$$$$$$$ + + + +
- -4 ++-------+--------+--------+--------+-------+--------+--------+-------++
- -2 -1.5 -1 -0.5 0 0.5 1 1.5 2
- (%o1)
复制代码 |
|