Graphics Array

Description

The graphics_array command can make 1 image with multiple plots. This is done by passing a list of plots to the command. In the example, we pass a 2-dimensional list of 4 plots, where each row has 2 plots, thus organizing the plots in a 2x2 fashion.

Sage Cell

Code

p1 = plot(x, (x, -2, 2))
p2 = plot(x^2, (x, -2, 2))
p3 = plot(sin(x), (x, -2, 2))
p4 = plot(2^x, (x, -2, 2))
graphics_array([[p1, p2], [p3, p4]])

Options

none

Tags

Primary Tags:

Secondary Tags:

A list of possible tags can be found at The WeBWorK Open Problem Library. For linear algebra tags see the Curated Courses Project.

Related Cells

Any related cells go here. Provide a link to the page containing the information about the cell.

Attribute

Permalink:

Author:

Date: 26 Jul 2019 01:17

Submitted by: Zane Corbiere

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License