Ask Your Question
3

Tables of graphics?

asked 2010-12-11 00:37:13 +0100

Eviatar Bach gravatar image

updated 2011-05-22 15:04:49 +0100

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-11 05:27:49 +0100

vdelecroix gravatar image

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 13:22:16 +0100 )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 22:10:41 +0100 )edit

Done. :)

Eviatar Bach gravatar imageEviatar Bach ( 2010-12-12 01:23:13 +0100 )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-11 00:37:13 +0100

Seen: 819 times

Last updated: Dec 11 '10