The QtiPlot Handbook
Prev | Chapter 5. The Dialogs | Next

# Text options

This dialog can be opened using several different commands, such as the Title... command, or simply by double clicking on an axis title in your plot. The Color, Font and Alignment commands allow the modification of the general settings of the text label. You can also specify the distance between the label and the corresponding axis, using the Distance to axis box.

Figure 5-72. The axis title options dialog.

The following slightly modified dialog is opened when you double click on texts/legends in your plot in order to customize them. It also allows adding text boxes to a plot layer. When the text object is a legend (a listing of the curves plotted on the layer) the curve symbols and lines are also drawn in the text box, in front of the curve names. In order to display the symbol of a curve and the name of the data set, the following syntax is used: \l(1.2)%(1.2). In this example the first integer before the dot is the index of the plot layer and the second value, the number 2, refers to the index of the curve. The index of the layer is optional, if not specified, the parent layer is used.

The % character is an alias for the name of the data set. By adding ",@C" or ",@L" to the number you can alternatively use the name or comment of the dataset, e.g. \l(2)%(2,@C) will use the column name. Additionally, you can use "@W" to display the table name and "@WL" for the table label. To display the contents of a specific cell of the source data table use %(curve #,@L,col,row). If the col parameter is missing the y-column of the dataset is used.

If the Auto-update box is checked, the legend is updated each time a curve is added or removed from the plot layer.

The TeX Output option specifies if LaTeX special characters should be escaped or not when exporting to .tex files. If the text contains LaTeX syntax (like superscripts, subscripts, etc...) and you want them to be interpreted by the LaTeX compiler, you should check this option.

By pressing the Set As Default button, all text format options will be saved to the user preferences and will be applied to new text objects. The Apply to... button can be used to apply these format options to all text objects in the active plot layer, the current plot window, or all plot windows in the project. The scope of application of the new format can be chosen from the list box below the Apply to... button.

The Opacity of the Background color can have a value between 0 (transparent background) and 255 (completely opaque background).

Figure 5-73. The legend/text options dialog.

The text item can be modified in the text window. Several enhancements can be added to text:

- <sub>text</sub> will draw the text as subscripts. You can insert this sequence by clicking on the button.

- <sup>text</sup> will draw the text as superscripts. You can insert this sequence by clicking on the button.

- Clicking on the button, opens a dialog for selecting lower case Greek characters:

- Clicking on the button opens a dialog for selecting upper case Greek characters:

- Clicking on the integral symbol opens a dialog which allows selecting various mathematical symbols:

- Clicking on the arrow icon opens a dialog which allows selecting various arrow symbols:

- <b>text</b> will draw the text with bold characters. You can insert this sequence by clicking on the button.

- <i>text</i> will draw the text with italic characters. You can insert this sequence by clicking on the button.

- <u>text</u> will draw the text with underlined characters. You can insert this sequence by clicking on the button.

Prev | Home | Next
Surface plot options | Up | Analysis of data and curves