Selecting Graphics Objects

Selecting an Object

The following sequence shows how to select an object inside a graphic.

1.gif

To begin editing within a graphic, single-click or double-click the background or an object in the graphic. The frame highlight will change to gray.

2.gif

Click a disk to select it.

3.gif

Drag the disk or its frame highlight to move it.

4.gif

When over a handle, the arrow cursor ( ) changes to the double arrow cursor (, , , or ).

10.gif

Drag a handle to reshape the selected disk.

11.gif

To resize a disk without changing its shape, press Shift and drag a handle.

12.gif

Selecting Multiple Objects

The following sequence shows how to select multiple objects inside a graphic.

13.gif

Click a disk to select it.

14.gif

Shift+click to select another disk. The two disks with crosshairs (+) at their centers are selected.

15.gif

Drag a handle to stretch the selected disks.

16.gif

Click outside the selected disks to deselect.

17.gif

Click and drag across some disks to select them.

18.gif

Shift+click to deselect a selected disk.

19.gif

Shift+drag to deselect a group of disks.

20.gif

Copy and Paste

The following sequence shows how to copy and paste an object from one graphic to another.

21.gif

Click to copy a rectangle.

22.gif

In another graphic, double-click the background and paste. The rectangle will be at its original coordinates.

23.gif

Drag the pasted rectangle to move it out of the way.

24.gif

Click a disk to select it.

25.gif

Paste the copied rectangle again. The disk disappears and a new copy of the rectangle appears once again at its original coordinates.
Whether the rectangle appears above or below a disk depends on the position of the replaced disk in the internal ordering of the graphics expression.

26.gif

In contrast to double-clicking the background of the target graphic, a single click may select the target as a whole.

27.gif

Pasting now replaces the whole graphic.

28.gif

Inset Objects

The following sequence shows how to copy and paste a graphic inside another graphic.

Here is a graphic with three squares. Click the graphic and copy it.
In[138]:=
Click for copyable input
Out[138]=
Double-click a square to select it.

29.gif

Paste the graphic copied before. The three squares will be pasted, replacing the selected square.

30.gif

The pasted squares are in an Inset. Click the Inset to select it.

31.gif

To move the Inset, click anywhere inside it and drag.

32.gif

Copy the selected Inset, click the background of the graphic to deselect the Inset, and paste. Move the pasted Inset to the upper right.

33.gif

Double-click an object in an Inset to select it.

34.gif

Click and drag an object in an Inset to move it.

35.gif

Objects in different Inset groups cannot be selected simultaneously.

36.gif