|
21 | 21 |
|
22 | 22 | The sine function::
|
23 | 23 |
|
24 |
| - sage: sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1,ymax=1) for c in sxrange(0,1,.2)] |
| 24 | + sage: sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in sxrange(0,1,.2)] |
25 | 25 | sage: a = animate(sines)
|
26 | 26 | sage: a
|
27 | 27 | Animation with 5 frames
|
@@ -113,6 +113,8 @@ def animate(frames, **kwds):
|
113 | 113 | sage: t = var('t')
|
114 | 114 | sage: a = animate((cos(c*pi*t) for c in sxrange(1,2,.2)))
|
115 | 115 | sage: a.show() # optional -- ImageMagick
|
| 116 | +
|
| 117 | + See also :mod:`sage.plot.animate` for more examples. |
116 | 118 | """
|
117 | 119 | return Animation(frames, **kwds)
|
118 | 120 |
|
@@ -177,7 +179,7 @@ class Animation(SageObject):
|
177 | 179 | We check that :trac:`7981` is fixed::
|
178 | 180 |
|
179 | 181 | sage: a = animate([plot(sin(x + float(k)), (0, 2*pi), ymin=-5, ymax=5)
|
180 |
| - ....: for k in srange(0,2*pi,0.3)]) |
| 182 | + ....: for k in srange(0,2*pi,0.3)]) |
181 | 183 | sage: a.show() # optional -- ImageMagick
|
182 | 184 |
|
183 | 185 | Do not convert input iterator to a list::
|
@@ -455,7 +457,7 @@ def graphics_array(self, ncols=3):
|
455 | 457 |
|
456 | 458 | sage: g = a.graphics_array(); print g
|
457 | 459 | Graphics Array of size 2 x 3
|
458 |
| - sage: g.show(figsize=[4,1]) # optional |
| 460 | + sage: g.show(figsize=[6,3]) # optional |
459 | 461 |
|
460 | 462 | Specify different arrangement of array and save with different file name::
|
461 | 463 |
|
|
0 commit comments