Ask Your Question
3

Tables of graphics?

asked 2010-12-10 17:37:13 -0500

Eviatar Bach gravatar image

updated 2011-05-22 08:04:49 -0500

Kelvin Li gravatar image

I recall seeing a function that would allow one to make a table (or a series) of graphics. For example, if I wanted to display 10 plots in a series, how would I do this?

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
6

answered 2010-12-10 22:27:49 -0500

Hello,

You can use graphics_array as in

sage: G = [plot((lambda x: sin(n*x))) for n in xrange(1,5*pi,pi)]
sage: graphics_array(G)

and precise the number of rows and columns you want

sage: graphics_array(G,2,2)

For more information on options

sage: graphics_array?

Vincent

edit flag offensive delete link more

Comments

Thank you! That's what I needed.

Eviatar Bach gravatar imageEviatar Bach ( 2010-12-11 06:22:16 -0500 )edit

Hey Hypercube, if you want, you can click that this was the right answer, and vdelecroix will get some extra 'karma' :)

kcrisman gravatar imagekcrisman ( 2010-12-11 15:10:41 -0500 )edit

Done. :)

Eviatar Bach gravatar imageEviatar Bach ( 2010-12-11 18:23:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-12-10 17:37:13 -0500

Seen: 334 times

Last updated: Dec 10 '10