[Fluent Inc. Logo] return to home search
next up previous contents index

28.2.4 Adding Text to the Graphics Window

There are two ways to add text annotations with optional attachment lines to the graphics windows. You can either use the mouse-annotate function for one of the mouse buttons, or use the Annotate panel. Both of these methods are described in this section. Figure  28.2.3 shows an example of a graphics display with annotated text in it.

Figure 28.2.3: Graphics Window with Text Annotation
figure



Adding Text Using the Annotate Panel


Adding text to the graphics window using the Annotate panel (Figure  28.2.4) allows you to control the font and color of the text.

Display $\rightarrow$ Annotate...

Figure 28.2.4: The Annotate Panel
figure

The steps for adding text are as follows:

1.   Under Font Specification, select the font type in the Name drop-down list, the font weight ( Medium or Bold) in the Weight drop-down list, the size (in points) in the Size drop-down list, the color in the Color drop-down list, and the slant ( Regular or Italic) in the Slant drop-down list.

2.   Enter the text to be added in the Annotation Text field.

3.   Click Add. You will be asked to pick the location in the graphics window where you want to place the text, using the mouse-probe button. (By default, the mouse-probe button is the right button, but you can change this using the Mouse Buttons panel, as described in Section  28.3.) If you click the mouse button once in the desired location, the text will be placed at that point. Dragging the mouse with the mouse-probe button depressed will draw an attachment line from the point where the mouse was first clicked to the point where it was released. The annotation text will be placed at the point where the mouse button was released.



Adding Text Using the mouse-annotate Function


To add text annotations to the graphics window using the mouse-annotate function, you must first set the function of one of the mouse buttons to be mouse-annotate in the Mouse Buttons panel. (See Section  28.3 for details about modifying the mouse button functions.) Then, click the mouse-annotate button in the desired location in the graphics window. A cursor will appear and you can type the text directly in the graphics window. Dragging the mouse with the mouse-annotate button depressed will draw an attachment line from the point where the mouse was first clicked to the point where it was released. The cursor will then appear at the point where the mouse button was released.

You can use the Annotate panel to edit or delete text added using the mouse, as described below.



Editing Existing Annotation Text


Once you have added text to the graphics display, using either the Annotate panel or the mouse-annotate function, you may change the font characteristics of one or more text items, or delete individual text items.

To modify or delete existing text, follow these steps:

1.   Select the appropriate item in the Names list in the Annotate panel (Figure  28.2.4). When you select a name, the associated text will be displayed in the Annotation Text field, and the Add button will become the Edit button.

2.   Modify the Font Specification entries as desired, and click the Edit button to modify the text, or simply click the Delete Text button below the Names list to delete the selected text.

Note that if you want to make changes to all current annotation text, you can select all of the Names instead of just one in step 1.

You can move the text in the same way that you move other geometric objects in the display, using the Scene Description panel and the Transformations panel. See Section  28.5.3 for details.



Clearing Annotation Text


Annotation text is associated with the active graphics window and is removed only when the annotations are explicitly cleared. To remove the annotations from the graphics window, you must click the Clear button in the Annotate panel (even if you use the mouse-annotate function to add the text). If you draw new graphics in the window without clearing the annotations, they will remain visible in the new display.


next up previous contents index Previous: 28.2.3 Changing the Legend
Up: 28.2 Customizing the Graphics
Next: 28.2.5 Changing the Colormap
© Fluent Inc. 2006-09-20