数学建模社区-数学中国

标题: 求助:为什么不能显示图形? [打印本页]

作者: matlab666    时间: 2016-10-13 16:27
标题: 求助:为什么不能显示图形?
想动画显示散列图,却没有显示. H0 o. B! o; k3 _! [1 [( U2 P
Clear[tt]1 E0 e+ c& B  F! Z4 f  x* H
9 l" `, C3 }; o' k
tt = {1, 1/2^2, 1/3^2}' F9 Q2 c5 W5 [- |, n5 C

4 @8 _/ R, y; ]+ Y6 x7 \9 a9 H' r; I{1,1/4,1/9}6 c( d7 x" ^" i# w' H. Z

$ f* s! F, O- K3 R. o9 m$ I5 H3 ?Do[ListPlot[tt = Append[tt, 1/i^2]], {i, 4, 20}]. c0 h- j6 ~5 ]$ w2 |. v) H
5 c9 g8 J0 J3 |
: H, t& d$ P) l4 n4 p

作者: matlab666    时间: 2016-11-7 18:15
自己动手,丰衣足食--问题已解决5 t5 W/ U) N# S2 S1 H( S1 T: f8 Q
Clear[tt];$ K! i. m) _7 d* K& U
tt = {1, 1/2^2, 1/3^2};
7 g3 a. A* g1 \Do[tt = Append[tt, N[1/i^2]];
" z1 g7 t' w$ c$ F5 i Print[ListPlot[tt, PlotRange -> {0, 1}, 9 _. B; H! c, s6 M
   PlotStyle -> PointSize[0.02]]], {i, 4, 20}]) E8 }) E; G* j: s2 ~





欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5