Drawing Tools

Opening the Palette

Type Ctrl+Null or choose Graphics Drawing Tools.

For more information on each tool, click the words pointing into the palette.

Selecting a Tool

Do one of the following:

Persistence of Tools

Do one of the following:

Tools

Selection Tool

You can use the Selection tool to select a graphics primitive as a whole. The selection is indicated by a frame with handles.

You can scale the selection by dragging a handle. To scale equally in both directions, Shift+drag a handle.

You can move an object by dragging it.

You can remove or add an object to a selection with Shift+click.

You can select multiple objects by dragging out a rectangular region.

When an object is completely underneath another one, dragging makes it visible. You can then drag it by dragging its highlight.

For more information on how to use the Selection tool, see "Interactive Graphics: Selecting".

Draw Arrow Tool

Click the Draw Arrow tool and drag the pointer () to draw an arrow. Hold down the Shift key to draw the arrow horizontally or vertically.

6.gif

You can set arrow styles with the Stroke section.

7.gif

You can set arrowheads with the Arrowheads section.

8.gif

Draw Freehand Tool

Click the Draw Freehand tool button and drag the pointer () to draw a curve.

11.gif

Double-click the Draw Freehand tool to draw multiple curves.

12.gif

Draw Line Tool

Click the Draw Line tool and drag the pointer () to draw a single line. Hold down the Shift key to draw a horizontal or vertical line.

15.gif

You can set line styles with the Stroke section.

16.gif

Draw Line Segments Tool

Click the Draw Line Segments tool and drag the pointer () to draw a multi-segment line. You get a new segment after each click. To stop, double-click the last point or single-click the first point.

19.gif

You can set line styles with the Stroke section.

20.gif

Draw Point Tool

Click the Draw Point tool and then click to draw a point.

22.gif

You can set point styles with the Points section.

23.gif

Place Text Tool

You can place text in a graphic with the Place Text tool.

25.gif

You can set text styles with the Text section.

26.gif

Place TraditionalForm Text Tool

You can place TraditionalForm text in a graphic with the Place TraditionalForm Text tool.

28.gif

29.gif

You can set text styles with the Text section.

30.gif

Draw Rectangle Tool

Click the Draw Rectangle tool and drag the pointer () to draw a rectangle. Hold down the Shift key to draw squares.

33.gif

You can set face and edge styles with the Fill and Stroke sections, respectively.

34.gif

Draw Polygon Tool

Click the Draw Polygon tool and drag the pointer () to draw a polygon. You get a new segment after each click. To stop, double-click the last point or single-click the first point.

37.gif

You can set face and edge styles with the Fill and Stroke sections, respectively.

38.gif

Draw Disk Tool

Click the Draw Disk tool and drag the pointer () to draw a disk or an ellipse.

41.gif

Hold down the Shift key to draw circles.

42.gif

Draw Circle Tool

Click the Draw Circle tool and drag the pointer () to draw an unfilled circle or ellipse.

45.gif

Hold down the Shift key to draw circles.

46.gif

Sample Style Tool

Select a graphics object and click the Sample Style tool.

48.gif

Click on another graphics object to update the styles of the selection to match.

49.gif

Null+click on another graphics object to change the selection after choosing the tool (prior to sampling).

51.gif

Get Coordinates Tool

Click the Get Coordinates tool and move the mouse pointer () over a 2D graphic or a 2D plot. The approximate coordinate values of the mouse position are displayed.

54.gif

Click to mark the coordinates. Click at other positions to add markers. You can delete markers with Null+click.

56.gif

Use Null+C to copy the marked coordinates to the clipboard. Use Null+V to paste the copied coordinate values into an input cell.
In[321]:=
Click for copyable input
Use Alt+drag to mark a rectangle and Null+C to copy the coordinates of the opposite corners.

60.gif

Use Null+V to paste.
In[323]:=
Click for copyable input
Drag to mark a coordinate path, then type Null+C to copy the coordinates.

63.gif

Paste the coordinates into an input cell.
In[325]:=
Click for copyable input

Operations

New Graphic

Do one of the following:

Group

Select multiple graphics objects and do one of the following:

Arrange

You can use these operations to change the order of overlapping objects.

67.gif

Select an object in overlapping graphics and do one of the following to move it to the back:

Align

You can use these operations to align multiple graphics objects.

72.gif

Select multiple graphics objects and do one of the following to align them on the left:

Distribute

You can use these operations to control the space between selected graphics objects.

79.gif

Select more than two graphics objects and do one of the following to equally space the left sides of each object:

Styles and Attributes

Do one of the following:

Fill

Use the Fill section to modify the face color and opacity of shapes such as Rectangle, Disk, and Polygon.

88.gif

Stroke

Use the Stroke section to modify the color, opacity, thickness, dashing, and caps and joins styles of linear graphics objects such as Line, Circle, and Arrow.

89.gif

You can also use the Stroke section to modify the edge styles of shapes such as Rectangle, Disk, and Polygon.

90.gif

Arrowheads

Use the Arrowheads section to modify the appearance, position, and size of arrowheads.

91.gif

Text

Use the Text section to modify font styles and attributes inside graphics.

92.gif

Points

Use the Points section to change the color and size of points.

93.gif

Rectangles

Use the Rectangles section to create rectangles with rounded corners.

94.gif

Color Selector

95.gif

Click the color swatch under Fill, Stroke, Text Foreground, or Text Background to bring up a color selector palette.

Click the spectrum to select the currently shown color in the top-left corner.

You can also click one of the wells to select the displayed color.

Drag the color swatch for quick access to the color selector palette. Release the mouse to select the current color.

Drag a color onto one of the wells to store it.

Click the button next to the color swatch to access the system color selector palette.

Settings

Alignment Guides

Use the alignment guides to align a graphics object within a graphic.

96.gif

You can also use the alignment guides to align with another graphics object.

97.gif

Temporarily disable the alignment guides while dragging by pressing the Alt key.

98.gif

Reset

Reset the styles and attributes of the current selection as well as subsequently drawn graphics objects.

Related Tutorials