Navigation:  Menu Commands > Text Menu >

Title/Axes command (Text menu)

JR   Viewer

Print this Topic Previous pageReturn to chapter overviewNext page

Enter up to 4 title lines and (depending on scaling options and plot type) one or more labels for the X, Y, and Z axes.

Each of these strings is limited to 200 characters. The appearance of these strings may be changed with the Fonts menu command.

You can embed placeholder codes for certain data parameters (minima, maxima, standard deviation, etc.) in the title lines and axis labels 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.

The Horizontal setting for the Y axis label is only applicable to 2D views; it is ignored for 3D views of 3D or 4D data.

Each of these entries may include line breaks so that the text spans multiple lines. To break a string into 2 or more lines, embed a "\n" sequence in the string (for C programmers, that is the actual characters \n, not a linefeed character). For example, this text:

This is the first title\nand this is the 2nd line of the first title

will appear as:

This is the first title
and this is the 2nd line of the first title

The third title line may not be edited while in data processing mode, since  this string is continuously updated by DPlot as you edit the data. If you have selected the DPlot-generated labels option in data processing mode then you are also prevented from editing the X and Y axis labels.

Character formatting

Title lines and axis labels may include formatting codes for subscripts, superscripts, etc., as described below. 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}

 

Related macro commands

Title1

Title2

Title3

Title4

XAxisLabel

X2AxisLabel

Y2TopDown

YAxisHorizontal

YAxisLabel

Y2AxisLabel

ZAxisLabel

AAxisLabel

 


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