Legacy Documentation

Mathematica 9 (2012)

This is documentation for Mathematica 9, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 15.0)

Resizing, Cropping, and Adding Margins to Graphics

Changing the AspectRatio

The following sequence shows how to change the aspect ratio of a plot.

In[36]:=
Click for copyable input
Out[36]=
Using the Selection tool, click to select the graphic.

1.gif

Shift+drag a handle to change the aspect ratio.

2.gif

Cropping

The following sequence shows how to crop a portion of a plot.

In[49]:=
Click for copyable input
Out[49]=
Using the Selection tool, click a graphic to select it.

3.gif

"Ctrl"+drag a handle to crop the plot.

5.gif

Setting Margins

The following sequence shows how to set the margins of a graphic.

In[1]:=
Click for copyable input
Out[1]=
Click to select the graphic.

6.gif

Drag the frame (not a handle) to push out the margins.

7.gif

To change a margin directly, drag a margin frame handle.

8.gif

To keep the margins equal, Shift+drag the frame.

9.gif

To get rid of the margins, Shift+drag the graphics frame to the top-left corner.

10.gif

ja zh