# Revision history [back]

### Combined 2d plot: how to change the size of the object?

I have created a matrix plot and a line and combined them as follows: m = matrix_plot([[1,0,1,0,1,0,1,0], [0,1,0,1,0,1,0,1], [1,0,1,0,1,0,1,0], [0,1,0,1,0,1,0,1], [1,0,1,0,1,0,1,0], [0,1,0,1,0,1,0,1], [1,0,1,0,1,0,1,0], [0,1,0,1,0,1,0,1], [1,0,1,0,1,0,1,0]], aspect_ratio=1, frame=False) Q = line([(-0.5, 0), (1, 1)], thickness=3) Combined graphics is (m+Q) I would like to change the size of (m+Q), but (m+Q).set_axes_range() does not affect the values. Here is an example showing no change when using set_axes_range(): https://sagecell.sagemath.org/?q=wnkqye

What method should I use ?

 2 None slelievre 16804 ●19 ●150 ●332 http://carva.org/samue...

### Combined 2d plot: how to change the size of the object?

I have created a matrix plot and a line and combined them as follows: follows:

m = matrix_plot([[1,0,1,0,1,0,1,0],
[0,1,0,1,0,1,0,1],
[1,0,1,0,1,0,1,0],
[0,1,0,1,0,1,0,1],
[1,0,1,0,1,0,1,0],
[0,1,0,1,0,1,0,1],
[1,0,1,0,1,0,1,0],
[0,1,0,1,0,1,0,1],
[1,0,1,0,1,0,1,0]],
aspect_ratio=1,
frame=False)
Q = line([(-0.5, 0), (1, 1)], thickness=3)


Combined graphics is (m+Q) (m+Q).

I would like to change the size of (m+Q), (m+Q), but (m+Q).set_axes_range() (m+Q).set_axes_range() does not affect the values. values.

Here is an example showing no change when using set_axes_range(): set_axes_range():

• https://sagecell.sagemath.org/?q=wnkqye

What method should I use ?use?