mathematica7.0画散点折线图

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 12:43:13

mathematica7.0画散点折线图
mathematica7.0画散点折线图

mathematica7.0画散点折线图
画散点折线图的话,个人推荐用MultipleListPlot函数,在画散点折线图方面相比于ListPlot有诸多优点,不过这个函数不是内置的,需要先调用.
调用的语句是<<Graphics`MultipleListPlot`
举个例子吧,如下图:

调用FibShow函数即可。 FibShow[n_Integer] := Module[ {t = {}, i}, For[i = 1, i <= n, i++, AppendTo[t, {i, Fibonacci[i]}]];

用ListLinePlot就可以了