Navigation:  Menu Commands > Text Menu >

Add/Edit Note command (Text menu)

JR   Viewer

Print this Topic Previous pageReturn to chapter overviewNext page

Enter or edit a notation, placed at an arbitrary location on the plot. Each notation is limited to 4095 characters. There is no limit to the number of notations per plot, though of course there are practical limits due to limited space on the plot.

Unlike most DPlot dialogs, pressing ENTER while the Note control has the input focus results in a new line in the notation (normally, pressing ENTER is equivalent to clicking on OK). Press CTRL+TAB to embed a TAB character in the note. Press TAB to shift the input focus to another control.

To paste the contents of the Clipboard to the notation, move the cursor to the desired insertion point and press CTRL+V, or right-click and select Paste.

Location and Units: Enter the X and Y coordinates of the anchor point of the note, expressed as a fraction of the plot dimensions (Units=Plot space) or in the same units as the X and Y axes (Units=Data space).

Units=Plot space
(0,0) is at the top left corner of the plot; (1,1) is at the lower right corner. The notation will remain in the same position relative to the plot if you zoom or otherwise change plot extents. Coordinates outside the limits 0-1 are interpreted as note character sizes. For example (-1,-1) will place the note anchor point at 1 character width to the left of and 1 character height above the top left corner of the plot.

Units=Data space

The note position is tied to your data. If you zoom or change the plot extents, the note position relative to the plot may change. If the note location is outside the extents of the plot, it will not be drawn. If you drag a note outside the plot extents unintentionally, or make a mistake entering the position, you can correct this by opening the Add/Edit Note dialog again and entering location values that are within the plot extents.

You may also move a notation by pointing to the bounding rectangle and dragging to the desired location. If Units=Plot space and you drag a note such that the anchor point is outside the plot extents, it will not be drawn.

Anchor Point

You can specify how the note is aligned with the specified Location coordinates.

Text Placeholders

You can embed placeholder codes for certain data parameters (minima, maxima, standard deviation, etc.) in each notation that will be replaced with the corresponding numeric values when the plot is drawn. You can also present the results of equations within the text. For more information on placeholder codes see the Text Placeholders topic.

Font

The font used in notations may be changed with the Fonts menu command or by clicking the Font>> button.

Character formatting

Notations may include formatting codes for subscripts, superscripts, etc., as described below. Please note: Formatting codes should not extend across multiple lines of text, whether they are entered via the buttons or manually. For overbar, dot accents, or Wingdings fonts see Format Codes below.

To use subscripts, select the text (highlight using the cursor) you want to format as subscript, then click this button. Shortcut: CTRL+

To use superscripts, select the text (highlight using the cursor) you want to format as superscript, then click this button. Shortcut: CTRL+

To insert special characters (Greek letters, trademark symbols) found in the Symbol font, click on the insertion point, then click this button. Shortcut: CTRL+S

NOTE: On versions of Windows older than Vista, the Symbol font with normal weight may only be available in a horizontal orientation. Bold weight can generally be rotated to any angle. This limitation is of course important for the Y axis label on all plot types, and all axis labels in 3D views.

To make a portion of the text bold, select the text (highlight using the cursor) you want to format as bold, then click this button. Shortcut: CTRL+B

To make a portion of the text italic, select the text (highlight using the cursor) you want to format as italic, then click this button. Shortcut: CTRL+I

To make a portion of the text underlined, select the text (highlight using the cursor) you want to format as underlined, then click this button. Shortcut: CTRL+U

To double the size of one or more characters, select the applicable characters (highlight using the cursor), then click this button. Shortcut: CTRL+2

To use a custom color on a portion of the text, select the text (highlight using the cursor) you want to draw using a different color, then click this button. Shortcut: CTRL+K

Format codes

The formatting buttons simply insert special characters into the text that have specific meaning to DPlot. Use of these buttons is not strictly necessary - you can of course physically type these codes with the same result. Format codes may be nested, so you can have (for example), subscripted Greek characters or subscripts of subscripts. Note that the bold, italic, and underline codes will have no effect if the font already possesses that attribute. In other words, using {\b} on a bold font will not make the font "bolder".

Format

Code

Example

Result

Bold

{\btext}

{\bBold} text

Bold text

Italic

{\itext}

{\iItalic} text

Italic text

Subscript

{\dtext}

P{\dso}

Superscript

{\utext}

X{\u2} + Y{\u2}

Symbol

{\stext}

e{\u(-{\sa}t)}

Underline

{\_text}

{\_underlined} text

underlined text

Enlarged

{\2text}

{\2{\sS}}x

Color

{\cBBGGRRtext}

{\c0000FFRed} Text

Red Text

Overbar

{\otext}

{\oY}=56.23

Dot accent

{\.text}

Flow = {\.V}

Double dot accent

{\:text}

y = y{\d0} + {\.y}t - {\:y}t{\u2}/2

Wingdings

{\w1text}

{\w1N} Danger {\w1N}

Wingdings 2

{\w2text}

{\w2R} Passed

Wingdings 3

{\w3text}

Arrows {\w3!"#$} and\nmore arrows {\w3NOPQ}

Frame note

Check this box to draw a rectangle around the notation.

Opaque

Check this box to hide items that intersect the rectangle bounding the notation.

Button activated

Check this box to display a pushbutton in place of the note. Clicking on the pushbutton displays a popup window containing the note. If this option is selected the note will not be printed or copied to the Clipboard by the Copy Picture command. The text appearing on the note button is controlled by the Button Text edit box. If this box is left blank the button will contain the word "Note".

Tab Stops at

Enter the number of characters for each tab stop, or click on the arrows until the desired tab spacing is selected. Tab characters may be embedded in the note by typing CTRL+TAB.

Draw arrow to

Check this box to draw a leader from the notation to a point on the plot, specified in data space in the X and Y boxes below. Control the line width and arrowhead size with the adjacent Arrow dimensions button. If either the X or Y text boxes have the keyboard focus (denoted by the flashing text cursor in either box) then you can click on the plot to specify those coordinates. If Snap cursor to nearest data point is checked and you click near a curve, the X and Y boxes will be filled with the coordinates of the closest data point.

Shortcut:

Double click on an existing note.

or

Click  on the toolbar.

 

Related macro commands

DeleteNote

NoteButtonText

NoteOptions

NotePosition

NoteTabstops

TextNote

TextNote3D

TextNoteEx

TextNoteLeader

 

 


Page url: https://www.dplot.com/help/index.htm?helpid_note.htm