Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Virtual Book > Visualization and Graphics > Editing Mathematica Graphics Overview > Resizing, Cropping, and Adding Margins to Graphics >

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.
Shift+drag a handle to change the aspect ratio.

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.
"Ctrl"+drag a handle to crop the plot.

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.
Drag the frame (not a handle) to push out the margins.
To change a margin directly, drag a margin frame handle.
To keep the margins equal, Shift+drag the frame.
To get rid of the margins, Shift+drag the graphics frame to the top-left corner.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF