First time here? Check out the FAQ!

Ask Your Question
3

Tables of graphics?

asked 14 years ago

Eviatar Bach gravatar image

updated 13 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
6

answered 14 years ago

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

Preview: (hide)
link

Comments

Thank you! That's what I needed.

Eviatar Bach gravatar imageEviatar Bach ( 14 years ago )

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

kcrisman gravatar imagekcrisman ( 14 years ago )

Done. :)

Eviatar Bach gravatar imageEviatar Bach ( 14 years ago )

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: 14 years ago

Seen: 829 times

Last updated: Dec 11 '10